31 Oct
2005
31 Oct
'05
9:21 a.m.
From: Ketil Malde <ketil@ii.uib.no> 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.