# containers

> Assorted concrete container types for Haskell

Source: https://talira.ai/catalog/containers-w4t8eka6
Every listing: https://talira.ai/catalog.md

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

containers is the Haskell library of efficient, general-purpose immutable container types: sets and maps (Data.Set, Data.Map), maps and sets keyed by Int (Data.IntMap, Data.IntSet), finite sequences (Data.Sequence), trees and graphs. Each operation documents its cost, worst-case or amortized, and the bounds hold even when structures are shared. It's one of [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md)'s core libraries, maintained under the Core Libraries Committee and installed from Hackage.

## Links

- GitHub: https://github.com/haskell/containers
- Docs: https://haskell-containers.readthedocs.io/

## Problems it solves

- an efficient immutable map or set in Haskell
- a persistent sequence with fast access at both ends in Haskell
- build and traverse a graph in Haskell
- a map keyed by Int that's faster than a general Map

## Features

- Data.Map and Data.Set
- Data.IntMap and Data.IntSet
- Data.Sequence finger-tree sequences
- trees and graphs
- documented worst-case or amortized costs

## Trust

Overall: 0.50 out of 1.
Signals: maintenance 0.70, adoption 0.51, momentum 0.14, community 0.92, backing 0.30, extensibility 0.00.

- last commit yesterday
- 15 commits in the last 90 days
- latest release v0.8.1 51 days ago
- 358 GitHub stars
- 199 contributors
- backed by Haskell Core Libraries Committee

## Sources

[^1]: https://github.com/haskell/containers/blob/master/containers/LICENSE (checked 23 Nov 2026)
[^2]: https://hackage.haskell.org/package/containers (checked 23 Nov 2026)
