[Haskell-cafe] bytestring vs. uvector

Bulat Ziganshin bulat.ziganshin at gmail.com
Tue Mar 10 17:12:13 EDT 2009

Hello Xiao-Yong,

Tuesday, March 10, 2009, 11:52:50 PM, you wrote:

> So it's me who understand it wrong.  If I want some high
> performance array with elements of custom data type, I'm
> stuck with Array, anyway?

ForeignArray will be the best here. just make you type instance of
Storable. if you need *movable* arrays, you will have to implement
your own array datatype or use ArrayRef library and declare your type
as instance of Unboxed

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list