base-compat-batteries

base-compat with extra batteries

Version on this page:0.10.4
LTS Haskell 22.14:0.13.1
Stackage Nightly 2024-03-28:0.13.1
Latest on Hackage:0.13.1

See all snapshots base-compat-batteries appears in

MIT licensed and maintained by Simon Hengel, João Cristóvão, Ryan Scott
This version can be pinned in stack with:base-compat-batteries-0.10.4@sha256:072138b6becfd8cb9b4fabe9289f61e78f013fd7e4a235dd1f6f0ebca30751b9,8564

Module documentation for 0.10.4

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.

Changes

Changes in 0.10.4 [2018.07.03]

  • Add a SafeHaskellSpec test which ensures that certain modules (such as Prelude.Compat) can be imported in the presence of Safe.
  • This coincides with the base-compat-0.10.4 release. Refer to the base-compat changelog for more details.

Changes in 0.10.3 [2018.07.02]

  • This coincides with the base-compat-0.10.3 release. Refer to the base-compat changelog for more details.

Changes in 0.10.2 [2018.07.02]

  • Sync with base-4.12/GHC 8.6
  • Introduce the Data.Functor.Contravariant.Compat module, which reexports Data.Functor.Contravariant from base (if using GHC 8.6 or later) or the contravariant library (if using an earlier version of GHC).
  • This coincides with the base-compat-0.10.2 release. Refer to the base-compat changelog for more details.

Changes in 0.10.1 [2018.04.10]

  • Add Data.List.NonEmpty.Compat.
  • Reexport (Data.Semigroup.<>) from Data.Monoid.Compat.
  • Tighten lower bounds of compat package dependencies.
  • This coincides with the base-compat-0.10.1 release. Refer to the base-compat changelog for more details.

Changes in 0.10.0 [2018.04.05]

  • Sync with base-4.11/GHC 8.4
  • This coincides with the base-compat-0.10 release. Refer to the base-compat changelog for more details.