bulat.ziganshin: > 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
Ah yes. Then in that case that is indeed true. Array / UArray aren't as extensible as the newer systems modelled on Storable (like UA in vector/uvector). _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe