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.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to