| What it is | A standard library and Prelude replacement for production Haskell | Safe, fast alternative Prelude for Haskell | Extra functions for the standard Haskell libraries | Newer Haskell base functions on older compilers, without CPP |
| Kind | Open source | Open source | Open source | Open source |
| Trust | 0.35 | 0.43 | 0.21 | 0.24 |
| Stars | 866 | 735 | 97 | 21 |
| Last commit | 2026-02-06 | 2026-09-27 | 2025-11-23 | 2026-06-17 |
| Licence | MIT | MIT | BSD-3-Clause | MIT |
| Pricing | Free and open source | Free and open source | Free and open source | Free and open source |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | — | — | — | — |
| Ways to run it | — | — | — | — |
| SOC 2 | — | — | — | — |
| HIPAA | — | — | — | — |
| SSO | — | — | — | — |
| API | — | — | — | — |
| Plugins | — | — | — | — |
| MCP server | — | — | — | — |
| Company | Commercial Haskell SIG | Kowainik | Neil Mitchell | Simon Hengel and Ryan Scott |
| Features | - Prelude replacement
- re-exports standard types from widely used libraries
- one dependency for most common functionality
- best practices for production Haskell
| - total versions of partial functions such as head, tail and read
- Text-first API and space-leak-free functions such as sum and product
- depends almost only on GHC boot libraries
- its own HLint rules for migrating
- adopt it per project with cabal mixins or NoImplicitPrelude
| - Data.List.Extra, Control.Monad.Extra and other modules that extend and re-export base modules
- Monadic helpers such as concatMapM and whenJust
- retry for IO actions
- Backports of newer base functions to older GHC versions (back to 7.10)
- One Extra module documents every function
| - backports newer base functions to older GHC versions
- no CPP needed in your code
- no dependencies and no orphan instances
- base-compat-batteries for a wider support window
|
| Limitations | | - Like any alternative prelude, it means learning a different standard library and adding a dependency.
| | - It backports functions only, not data types or type classes from newer base.
- Some modules can only be backported to certain base versions without base-compat-batteries.
|