# base-orphans

> Newer base instances for older GHC versions

Source: https://talira.ai/catalog/base-orphans-yc2kwdmk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / general purpose](https://talira.ai/categories/libraries/general-purpose), [languages / haskell](https://talira.ai/categories/languages/haskell)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Simon Hengel](https://talira.ai/orgs/simon-hengel.md), [Ryan Scott](https://talira.ai/orgs/ryan-scott.md)

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](https://talira.ai/catalog/base-compat-5427rcry.md), which backports functions.

## Links

- GitHub: https://github.com/haskell-compat/base-orphans

## 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

## Trust

Overall: 0.22 out of 1.
Signals: maintenance 0.27, adoption 0.19, momentum 0.01, community 0.43, backing 0.30, extensibility 0.00.

- 8 GitHub stars
- 11 contributors
- backed by Simon Hengel and Ryan Scott

Warnings:

- last commit 5 months ago

## Related

- Works with [base-compat](https://talira.ai/catalog/base-compat-5427rcry.md)

## Alternatives

- [base-compat](https://talira.ai/catalog/base-compat-5427rcry.md): Newer Haskell base functions on older compilers, without CPP
- [extra](https://talira.ai/catalog/extra-ef2mgnsq.md): Extra functions for the standard Haskell libraries

## Sources

[^1]: https://github.com/haskell-compat/base-orphans/blob/master/README.markdown (checked 29 Nov 2026)
[^2]: https://github.com/haskell-compat/base-orphans/blob/master/LICENSE (checked 29 Nov 2026)
