Hello Don,

Wednesday, March 11, 2009, 12:48:35 AM, you wrote:

>> unfortunately, Array library unboxed arrays still aren't based on any
>> Unboxable *class*

> Hmm. Aren't all the array library types based on MArray and IArray?

> So I can define my own say, new STUArray element type by writing an instance 
> of
> MArray for it.  Like so:

yes, you can, just this definition duplicates too much code

-- 
Best regards,
 Bulat                            mailto:bulat.zigans...@gmail.com

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

Reply via email to