Data.Array.ST
Maintainer : libraries@haskell.org
Stability : experimental
Portability : non-portable (uses Data.Array.MArray)
Mutable boxed and unboxed arrays in the ST monad.
Boxed arrays
STArray · Declaration information is not available.
(forall s. ST s (STArray s i e)) -> Array i e
A safe way to create and work with a mutable array before returning an
immutable array for later perusal. This function avoids copying
the array before returning it - it uses unsafeFreeze internally, but
this wrapper is a safe interface to that function.
Unboxed arrays
STUArray · Declaration information is not available.
(forall s. ST s (STUArray s i e)) -> UArray i e
A safe way to create and work with an unboxed mutable array before
returning an immutable array for later perusal. This function
avoids copying the array before returning it - it uses
unsafeFreeze internally, but this wrapper is a safe interface to
that function.
Overloaded mutable array interface
Module export: Data.Array.MArray. Resolved links are not available.