Hello Jason,

Wednesday, June 24, 2009, 8:50:49 PM, you wrote:

>> Aren't you asking for a 4G element array here, so with a 32bit
>> wraparound the array will be some multiple of 4GB

>   It's a bit array. It'd be 512MiB.

internally it's indexed by plain Int :)

when library checks index boundary, it finds out that your array
contains 0 elements, so any index should be illegal :)

try to work via unsafe indexing operations... although anyway you will
be unable to specify 4G elements array in 32-bit environment

-- 
Best regards,
 Bulat                            mailto:[email protected]

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to