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

[ compatibility, library, mit ] [ Propose Tags ] [ Report a vulnerability ]

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

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, 0.14.0, 0.14.1
Change log CHANGES.markdown
Dependencies base (>=4.9 && <5), base-compat (==0.14.1), bifunctor-classes-compat (>=0.1 && <0.2), contravariant (>=1.5 && <1.6), foldable1-classes-compat (>=0.1 && <0.2), ghc-prim, OneTuple (>=0.4 && <0.5), type-equality (>=1 && <1.1) [details]
Tested with ghc ==8.0.2, ghc ==8.2.2, ghc ==8.4.4, ghc ==8.6.5, ghc ==8.8.4, ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.8, ghc ==9.4.8, ghc ==9.6.6, ghc ==9.8.2, ghc ==9.10.1, ghc ==9.12.1
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 2024-12-06T12:21:35Z
Distributions Arch:0.12.2, Debian:0.11.1, Fedora:0.12.3, LTSHaskell:0.13.1, NixOS:0.13.1, Stackage:0.14.1, openSUSE:0.13.1
Reverse Dependencies 24 direct, 7915 indirect [details]
Downloads 58078 total (603 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-12-06 [all 1 reports]

Readme for base-compat-batteries-0.14.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.