From: Ketil Malde <[EMAIL PROTECTED]>
Rene de Visser wrote:

I want to write a multi-dimensional unboxed arrary of Int32 to a file. (And also read it back later).

hGetArray/hPutArray?

To do this I need to cast my 5 dimensional array to a 1 dimensional array?
Does this work? i.e. how do I know that GHC uses a flat array representation for
multidemsional arrays (rather than a nested model using pointers).

Rene.


_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to