base-prelude

Featureful preludes formed solely from the "base" package

https://github.com/nikita-volkov/base-prelude

Version on this page:1.6.1
LTS Haskell 22.39:1.6.1.1
Stackage Nightly 2024-10-31:1.6.1.1
Latest on Hackage:1.6.1.1

See all snapshots base-prelude appears in

MIT licensed and maintained by Nikita Volkov
This version can be pinned in stack with:base-prelude-1.6.1@sha256:cde51401d5e4590fc7c581939ad6111630c5809e91692f362232d8299eb8477b,1590

Module documentation for 1.6.1

Depends on 1 package(full list with versions):

A library which aims to reexport all the non-conflicting and most general definitions from the "base" package. This includes APIs for applicatives, arrows, monoids, foldables, traversables, exceptions, generics, ST, MVars and STM.

This package will never have any dependencies other than "base".

Besides a rich prelude it provides limited ones like BasePrelude.DataTypes, which only exports the data-types defined across the "base" package, and BasePrelude.Operators, which only exports the common operators.

Versioning policy

The versioning policy of this package deviates from PVP in the sense that its exports in part are transitively determined by the version of "base". Therefore it's recommended for the users of "base-prelude" to specify the bounds of "base" as well.

Changes

1.6

  • Restrict to min GHC 8.6
  • Add Contravariant
  • Add OverloadedLabels and Records
  • Add STM.orElse

1.5

  • Exclude Data.Semigroup.Option
  • Restrict to min GHC 8.4
  • Add focused preludes for data types and operators

1.4

  • Restrict to min GHC 8.0 and give preference to MonadFail
  • Add IsList, Generic1 and export all of System.IO

1.3

  • Give preference to Semigroup definitions over Monoid

1.2

  • Replace the Foreign export with Foreign.Storable, Foreign.Ptr, Foreign.ForeignPtr, Foreign.StablePtr. It’s more conservative and way less likely to cause name collisions.

1.1

  • Export Foreign

1.0.1

  • Relaxed the “base” dependency

1

No changes.

0.2

  • Reexported Data.Bifunctor.

  • first and second are now (conditionally) exported from Data.Bifunctor, not Control.Arrow; note that if your version of base is lower than 4.8, first and second won’t be available at all.

0.1.21

  • Reexported printf and hPrintf from Text.Printf.

0.1.20

  • Reexported Numeric.

0.1.19

  • Avoided the clash between (&) and sortOn defined in the package and versions of these functions imported from base.

0.1.18

  • Added implementations of (&) and sortOn (normally not available in older versions of base).

0.1.17

  • Reexported Control.Monad.Fix.