What are the preconditions of newArray#

Johan Tibell johan.tibell at gmail.com
Fri Aug 19 17:04:48 CEST 2011


Hi,

I'm seeing a segfault which I suspect is due to allocating Array#s of
size 0, using newArray#. Are zero length arrays allowed? What are the
preconditions of newArray#? It'd be great if they were documented.

-- Johan



More information about the Glasgow-haskell-users mailing list