base-compat-batteries: base-compat with extra batteries

[ compatibility, library, mit ] [ Propose Tags ]

Provides functions available in later versions of base to a wider range of compilers, without requiring you to use CPP pragmas in your code.

This package provides the same API as the base-compat library, but depends on compatibility packages (such as semigroups) to offer a wider support window than base-compat, which has no dependencies. Most of the modules in this library have the same names as in base-compat to make it easier to switch between the two. There also exist versions of each module with the suffix .Repl.Batteries, which are distinct from anything in base-compat, to allow for easier use in GHCi.

See here for a more comprehensive list of differences between base-compat and base-compat-batteries.


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.10.4, 0.10.5, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1
Change log CHANGES.markdown
Dependencies base (>=4.3 && <5), base-compat (==0.13.1), bifunctor-classes-compat (>=0.1 && <0.2), contravariant (>=1.5 && <1.6), fail (>=4.9.0.0 && <4.10), foldable1-classes-compat (>=0.1 && <0.2), ghc-prim, nats (>=1.1.2 && <1.2), OneTuple (>=0.4 && <0.5), semigroups (>=0.18.4 && <0.21), tagged (>=0.8.5 && <0.9), transformers (>=0.2 && <0.7), transformers-compat (>=0.6 && <0.8), type-equality (>=1 && <1.1), void (>=0.7.2 && <0.8) [details]
License MIT
Copyright (c) 2012-2018 Simon Hengel, (c) 2014-2018 João Cristóvão, (c) 2015-2018 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
Source repo head: git clone https://github.com/haskell-compat/base-compat(base-compat-batteries)
Uploaded by ryanglscott at 2023-10-11T11:37:17Z
Distributions Arch:0.12.2, Debian:0.11.1, Fedora:0.12.3, LTSHaskell:0.13.1, NixOS:0.13.1, Stackage:0.13.1, openSUSE:0.13.1
Reverse Dependencies 24 direct, 7728 indirect [details]
Downloads 53171 total (550 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2023-10-11 [all 1 reports]

Readme for base-compat-batteries-0.13.1

[back to package description]

base-compat with extra batteries

Hackage Hackage Dependencies Haskell Programming Language BSD3 License

Scope

base-compat-batteries provides functions available in later versions of base to a wider range of compilers, without requiring you to use CPP pragmas in your code.

This package provides the same API as the base-compat library, but depends on compatibility packages (such as semigroups) to offer a wider support window than base-compat, which has no dependencies.

Like base-compat, base-compat-batteries does not add any orphan instances. There is a separate package base-orphans for that.

See here for a more comprehensive list of differences between base-compat and base-compat-batteries.