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

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


Samuel Bronson wrote:
> On 12/5/06, Nils Anders Danielsson <nad at cs.chalmers.se> 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 
example:

   http://hackage.haskell.org/trac/ghc/ticket/229

Cheers,
	Simon


More information about the Libraries mailing list