talira

Compare

base-compatbase-orphansextratransformers-compat
What it isNewer Haskell base functions on older compilers, without CPPNewer base instances for older GHC versionsExtra functions for the standard Haskell librariesCompatibility shim for Haskell's transformers library
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.240.220.210.22
Stars2189710
Last commit2026-06-172026-06-172025-11-232026-01-11
LicenceMITMITBSD-3-ClauseBSD-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————
CompanySimon Hengel and Ryan ScottSimon Hengel and Ryan ScottNeil MitchellEdward Kmett
Features
  • 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
  • orphan instances from newer base for older compilers
  • exports only instances, imported with Data.Orphans ()
  • documents which instances it covers and which it doesn't
  • 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 types added to newer transformers versions
  • lets a package support several transformers versions
  • tested with GHC 8.0 to 9.14
Limitations
  • 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.
      • Missing methods aren't supplied: the backported types can be used, but some of their methods may be absent.