Verified
Modules 15

Data.Array.ST

experimental

Mutable boxed and unboxed arrays in the ST monad.

Boxed arrays

STArray · Declaration information is not available.

runSTArray :: (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.

runSTUArray :: (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 Data.Array.MArray

Maintainer
libraries@haskell.org
Portability
non-portable (uses Data.Array.MArray)
Copyright
(c) The University of Glasgow 2001
License
BSD-style (see the file libraries/base/LICENSE)
Build record and source files

Verified build. The service reproduced this documentation.

Target: Linux on x86-64. Some inferred types and resolved links are not available.

Generator: aihc-haddock-7b0c8493-web-1

Metadata snapshot: 10bf2eab3c8818e91375122614fd52da6b643c8772e4ede6e094d3ea680122b7

Open the dependency plan · Download the documentation model

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.