FIX #1131 (newArray_ allocates an array full of garbage)
authorSimon Marlow <simonmar@microsoft.com>
Wed, 4 Jul 2007 10:20:20 +0000 (10:20 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 4 Jul 2007 10:20:20 +0000 (10:20 +0000)
commit42acd5eac493493748281da8240ec6e98c9dbee9
treee236444b9b7945c5084477a143559c0cef715b7a
parent08788d486837174d3532674d51c62bc5739a590b
FIX #1131 (newArray_ allocates an array full of garbage)
Now newArray_ returns a deterministic result in the ST monad, and
behaves as before in other contexts.  The current newArray_ is renamed
to unsafeNewArray_; the MArray class therefore has one more method
than before.
Data/Array/Base.hs
Data/Array/IO/Internals.hs
Data/Array/Storable.hs