Mutable and immutable arrays for Haskell
open sourceBSD-3-Clausefree
array is the Haskell package that provides the Data.Array module specified in the Haskell 2010 Language Report. It also defines the IArray class of immutable arrays and the MArray class of arrays that can be mutated within suitable monads, with some instances of each. It is maintained by the Haskell Libraries Team.
Problems it solves
- arrays with constant-time indexing in Haskell
- mutable arrays inside the ST or IO monad in Haskell
- the standard Data.Array module from the Haskell report
Features
- Data.Array as specified in the Haskell 2010 Report
- IArray class of immutable arrays
- MArray class of arrays mutable within monads
Alternatives
The same job
These do what array does.
