# array

> Mutable and immutable arrays for Haskell

Source: https://talira.ai/catalog/array-t8mep42w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / data structures / arrays](https://talira.ai/categories/libraries/data-structures/arrays)
- Licence: BSD-3-Clause[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Haskell Libraries Team](https://talira.ai/orgs/haskell-libraries-team.md)

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.

## Links

- GitHub: https://github.com/haskell/array

## 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

## Trust

Overall: 0.27 out of 1.
Signals: maintenance 0.27, adoption 0.25, momentum 0.01, community 0.79, backing 0.30, extensibility 0.00.

- latest release v0.5.8.0-r2 2.0 years ago
- 17 GitHub stars
- 96 contributors
- backed by Haskell Libraries Team

Warnings:

- last commit 10 months ago

## Alternatives

- [vector](https://talira.ai/catalog/vector-h23drzvm.md): Efficient Int-indexed arrays for Haskell, mutable and immutable, with loop fusion
- [primitive](https://talira.ai/catalog/primitive-1txb4m7z.md): Primitive memory-related operations for Haskell

## Sources

[^1]: https://github.com/haskell/array/blob/master/LICENSE (checked 27 Nov 2026)
[^2]: https://github.com/haskell/array/blob/master/array.cabal (checked 27 Nov 2026)
