Simon Marlow wrote:
> I suggest you follow the same scheme as the unboxed array types, and
> have IOURef/STURef types, parameterised over the element type.  Of
> course, we should have instances for all of the primitive numeric types
> plus Ptr, ForeignPtr, StablePtr, Bool.

Perhaps it may be worth to introduce a class Unpackable as described
at the end of
  http://www.haskell.org/pipermail/haskell-cafe/2004-July/006400.html

so we may define STUArray as an instance of MArray, and other similar
unpackable things easier?

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to