| What it is | A large utility library for Haskell | Safe, fast alternative Prelude for Haskell | Newer Haskell base functions on older compilers, without CPP | Extra functions for the standard Haskell libraries |
| Kind | Open source | Open source | Open source | Open source |
| Trust | 0.28 | 0.43 | 0.24 | 0.21 |
| Stars | 91 | 735 | 21 | 97 |
| Last commit | 2026-01-07 | 2026-09-27 | 2026-06-17 | 2025-11-23 |
| Licence | BSD-3-Clause | MIT | MIT | BSD-3-Clause |
| 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 | John Goerzen and haskell-hvr | Kowainik | Simon Hengel and Ryan Scott | Neil Mitchell |
| Features | - general utility functions for Haskell, written in pure 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
| - 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
| - 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
|
| 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.
| |