
20 Nov
2006
20 Nov
'06
1:33 p.m.
Hello Simon, Monday, November 20, 2006, 3:44:16 PM, you wrote:
implemented as a sequence of bytes either; indeed the Hugs implementation doesn't represent a UArray using unboxed elements.
really? :) data UArray i e = UArray !i !i !ByteArray data ByteArray = ByteArray !Int !BytePtr type BytePtr = ForeignPtr Word8 Hugs implementation actually works via Storable class, and i duplicated this in my own ArrayRef lib (only for Hugs, of course) -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com