talira

Compare

MissingHreludebase-compatextra
What it isA large utility library for HaskellSafe, fast alternative Prelude for HaskellNewer Haskell base functions on older compilers, without CPPExtra functions for the standard Haskell libraries
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.280.430.240.21
Stars917352197
Last commit2026-01-072026-09-272026-06-172025-11-23
LicenceBSD-3-ClauseMITMITBSD-3-Clause
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyJohn Goerzen and haskell-hvrKowainikSimon Hengel and Ryan ScottNeil 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.