The base-orphans package

[ Tags: compatibility, library, mit ] [ Propose Tags ]

base-orphans defines orphan instances that mimic instances available in later versions of base to a wider (older) range of compilers. base-orphans does not export anything except the orphan instances themselves, making it a leaner dependency than base-compat.

See the README for what instances are covered: https://github.com/haskell-compat/base-orphans#readme


[Skip to Readme]

Properties

Versions 0, 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.5.4, 0.6 (info)
Change log CHANGES.markdown
Dependencies base (==4.*), ghc-prim [details]
License MIT
Copyright (c) 2012-2015 Simon Hengel, (c) 2014 João Cristóvão, (c) 2015 Ryan Scott
Author Simon Hengel <sol@typeful.net>, João Cristóvão <jmacristovao@gmail.com>, Ryan Scott <ryan.gl.scott@gmail.com>
Maintainer Simon Hengel <sol@typeful.net>, João Cristóvão <jmacristovao@gmail.com>, Ryan Scott <ryan.gl.scott@gmail.com>
Category Compatibility
Home page https://github.com/haskell-compat/base-orphans
Source repo head: git clone https://github.com/haskell-compat/base-orphans
Uploaded Wed Apr 22 11:59:55 UTC 2015 by SimonHengel
Updated Thu Sep 17 18:30:14 UTC 2015 by ryanglscott to revision 1   [What is this?]
Distributions Arch:0.6, Debian:0.4.5, Fedora:0.6, FreeBSD:0.4.4, LTSHaskell:0.6, NixOS:0.6, Stackage:0.6, openSUSE:0.6
Downloads 83678 total (264 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-04-22 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for base-orphans-0.1.0

[back to package description]

base-orphans Hackage version Build Status

Scope

base-orphans defines orphan instances that mimic instances available in later versions of base to a wider (older) range of compilers. base-orphans does not export anything except the orphan instances themselves, making it a leaner dependency than base-compat.

Usage

To use base-orphans, simply import Data.Orphans ().

What is covered

  • Added Eq and Ord instances for Control.Exception.ErrorCall
  • Added Eq, Ord, Read, and Show instances for data types in GHC.Generics
  • Added Monoid, Eq, Ord, Read, and Show instances for Const
  • Added Read and Show instances for Down
  • Added Eq, Ord, Read, and Show instances for ZipList
  • Added Monad instance for WrappedMonad
  • Added Data and IsList instances for Version
  • Bits instance for Bool
  • Generic instance for All, Any, Const, Dual, Endo, First, Last, Product, Sum, WrappedArrow, WrappedMonad, and ZipList
  • Generic1 instance for Const, Dual, First, Last, Product, Sum, WrappedArrow, WrappedMonad, and ZipList
  • Foldable instance for Either, (,) and Const
  • Functor instance for ArgOrder, OptDescr, and ArgDescr
  • Num instance for Sum and Product
  • Storable instance for Complex and Ratio
  • Traversable instance for Either, (,) and Const
  • Typeable instance for most data types and typeclasses (when possible)

Supported versions of GHC/base

  • ghc-7.10.1 / base-4.8.0.0
  • ghc-7.8.4 / base-4.7.0.2
  • ghc-7.8.3 / base-4.7.0.1
  • ghc-7.8.2 / base-4.7.0.0
  • ghc-7.8.1 / base-4.7.0.0
  • ghc-7.6.3 / base-4.6.0.1
  • ghc-7.6.2 / base-4.6.0.1
  • ghc-7.6.1 / base-4.6.0.0
  • ghc-7.4.2 / base-4.5.1.0
  • ghc-7.4.1 / base-4.5.0.0
  • ghc-7.2.2 / base-4.4.1.0
  • ghc-7.2.1 / base-4.4.0.0
  • ghc-7.0.4 / base-4.3.1.0
  • ghc-7.0.3 / base-4.3.1.0
  • ghc-7.0.2 / base-4.3.1.0
  • ghc-7.0.1 / base-4.3.0.0
  • ghc-6.12.3 / base-4.2.0.2
  • ghc-6.12.2 / base-4.2.0.1
  • ghc-6.12.1 / base-4.2.0.0

Patches are welcome; add tests for new code!