# stm

> Software transactional memory for Haskell

Source: https://talira.ai/catalog/stm-e7csm5vy
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / concurrency](https://talira.ai/categories/libraries/concurrency)
- 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)

stm is Haskell's software transactional memory library, an abstraction for concurrent communication between threads. Its main benefits are composability and modularity: concurrent abstractions built with STM can be combined with any other STM code without exposing how each one keeps itself safe, which locks and MVars don't allow. It's maintained by the Haskell core libraries maintainers and tested with recent GHC releases.

## Links

- GitHub: https://github.com/haskell/stm
- Docs: https://wiki.haskell.org/Software_transactional_memory

## Problems it solves

- share state safely between threads in Haskell without locks
- compose concurrent operations in Haskell without deadlocks
- replace MVars with something that combines cleanly

## Features

- software transactional memory
- composable concurrent abstractions

## Trust

Overall: 0.37 out of 1.
Signals: maintenance 0.46, adoption 0.42, momentum 0.10, community 0.69, backing 0.30, extensibility 0.00.

- last commit 3 months ago
- 2 commits in the last 90 days
- 120 GitHub stars
- 51 contributors
- backed by Haskell Libraries Team

## Sources

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