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

Simon Marlow simonmarhaskell at
Wed Dec 6 06:25:20 EST 2006

Samuel Bronson wrote:
> On 12/5/06, Nils Anders Danielsson <nad at> wrote:
>> [Stuff about overflow and Ix laws]
> 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...

Problems in this area have been reported as GHC bugs several times, see for 


More information about the Libraries mailing list