Prelude replacement https://github.com/oisdk/precursor#readme
|Latest on Hackage:||0.1.0.0|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
- No more
Stringis removed in favor of lazy
- No more
Numtypeclass is now just for types which can be converted from integer literals.
Semigroups are now in scope by default, as well as some useful wrappers.
Semiringhas the operations
*, and the members
Semiring, as is
Numis not a superclass of
- Sensibly strict
- Several functions, such as
product, etc. are strict as default.
- No unnecessary
- Functions such as
Control.Monad.replicateMare removed in favor of the equivalent
- Fewer partial functions
- Functions like
minimum, etc. now return
Nothingwhen called on empty structures.
initreturn empty lists when called on empty lists.
- Data structures
Set(the strict variants) are now in scope by default, with a minimal, non-colliding aliased api.
Stateis now in scope by default.
- Handy functions like
notImplementedare in scope by default. They give warnings when used so they can't be forgotten.
- Other handy functions
- An O(n*log n)
bool, and others.