[Haskell-cafe] unboxed arrays restricted to simple types (Int, Float, ..)

Henning Thielemann lemming at henning-thielemann.de
Mon Nov 16 12:32:19 EST 2009


On Wed, 11 Nov 2009, Tom Nielsen wrote:

> There's a couple of things going on here:
>
> -If you use storablevector and storable-tuple, or uvector, you can
> store tuples of things. So your stupidArrayElement could be mimicked
> by (Int, Int).

Btw. there is Data.Array.Storable. Maybe I should just add a conversion 
from StorableArray to StorableVector and back.


More information about the Haskell-Cafe mailing list