Newer base instances for older GHC versions
open sourceMITfree
base-orphans is a Haskell package that defines orphan instances mimicking those added in later versions of base, so code that relies on them builds on a wider, older range of compilers. It exports nothing but the instances (you import Data.Orphans ()) and complements base-compat, which backports functions.
Problems it solves
- use instances from a newer base while still building on older GHC
- support several GHC versions without CPP around missing instances
- get newer typeclass instances for base types on an old compiler
Features
- 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
Alternatives
The same job
These do what base-orphans does.
- base-compat Newer Haskell base functions on older compilers, without CPP
- extra Extra functions for the standard Haskell libraries
