[Haskell-cafe] bytestring vs. uvector
Bulat Ziganshin
bulat.ziganshin at gmail.com
Tue Mar 10 17:54:34 EDT 2009
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.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list