talira

Compare

rio (Haskell)reludeextrabase-compat
What it isA standard library and Prelude replacement for production HaskellSafe, fast alternative Prelude for HaskellExtra functions for the standard Haskell librariesNewer Haskell base functions on older compilers, without CPP
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.350.430.210.24
Stars8667359721
Last commit2026-02-062026-09-272025-11-232026-06-17
LicenceMITMITBSD-3-ClauseMIT
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————
CompanyCommercial Haskell SIGKowainikNeil MitchellSimon 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.