The most complete prelude formed solely from the "base" package
|Version on this page:||1.4|
|LTS Haskell 20.16:||1.6.1|
|Stackage Nightly 2023-03-31:||1.6.1|
|Latest on Hackage:||1.6.1|
Module documentation for 1.4
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".
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.
- Give preference to Semigroup definitions over Monoid
- Replace the
Foreign.StablePtr. It’s more conservative and way less likely to cause name collisions.
- Relaxed the “base” dependency
secondare now (conditionally) exported from
Control.Arrow; note that if your version of base is lower than 4.8,
secondwon’t be available at all.
- Avoided the clash between
sortOndefined in the package and versions of these functions imported from base.
- Added implementations of
sortOn(normally not available in older versions of base).