[project @ 1999-03-05 10:21:22 by sof]
authorsof <unknown>
Fri, 5 Mar 1999 10:21:33 +0000 (10:21 +0000)
committersof <unknown>
Fri, 5 Mar 1999 10:21:33 +0000 (10:21 +0000)
commit9b910bc846cfb1f1d04de2ae2915cdd4e0aef5a7
treebf0c32ce5e0f75cbf6e637d564916599e985e25b
parent2ed3e0f4e0b638576ca641fd969b644a70784295
[project @ 1999-03-05 10:21:22 by sof]
Support for unsafely thawing your (Byte)Arrays, i.e., added the
following ops:

 MutableArray.unsafeThawArray :: Ix ix => Array ix elt -> ST s (MutableArray s ix elt)
 MutableArray.unsafeThawByteArray :: Ix ix => ByteArray ix -> ST s (MutableByteArray s ix)
 MutableArray.thawByteArray :: Ix ix => ByteArray ix -> ST s (MutableByteArray s ix)

 ST.unsafeThawSTArray      :: Ix ix => Array ix elt -> ST s (STArray s ix elt)
 LazyST.unsafeThawSTArray   :: Ix ix => Array ix elt -> ST s (STArray s ix elt)

 IOExts.unsafeFreezeIOArray :: Ix ix => IOArray ix elt -> IO (Array ix elt)
 IOExts.unsafeThawIOArray   :: Ix ix => Array ix elt -> IO (IOArray ix elt)

+ removed the re-exportation of Monad that ST and LazyST did.
ghc/compiler/nativeGen/StixPrim.lhs
ghc/compiler/prelude/PrimOp.lhs
ghc/docs/users_guide/MutableArray.sgml
ghc/includes/PrimOps.h
ghc/lib/exts/IOExts.lhs
ghc/lib/exts/LazyST.lhs
ghc/lib/exts/MutableArray.lhs
ghc/lib/exts/ST.lhs
ghc/lib/std/PrelArr.lhs
ghc/lib/std/PrelGHC.hi-boot
ghc/rts/PrimOps.hc