The Data.Array.* hierarchy is unsafe (or, Segfaulting for fun and profit)

Nils Anders Danielsson nad at
Wed Dec 6 05:16:50 EST 2006

On Wed, 06 Dec 2006, "Samuel Bronson" <naesten at> wrote:

> But, will you ever encounter such overflows in using an array? I
> suppose you might if you tried to make one larger than the address
> space...

Are you assuming that Ints can always be used to address the entire
address space? Ints are only guaranteed to have 30 bits.


More information about the Libraries mailing list