Simon Marlow | 4 Jul 2007 12:49
Picon
Favicon

patch applied (packages/base): FIX #1131 (newArray_ allocates an array full of garbage)

Wed Jul  4 03:20:20 PDT 2007  Simon Marlow <simonmar <at> microsoft.com>
  * 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.

    M ./Data/Array/Base.hs -59 +122
    M ./Data/Array/IO/Internals.hs -34 +68
    M ./Data/Array/Storable.hs -1 +3

Gmane