Releases: purescript/purescript-prelude
Releases · purescript/purescript-prelude
v3.0.0
- Updated for PureScript 0.11
- Removed incorrect
EuclideanRing Unit
and Field Unit
instances
v2.5.0
- Added
Eq1
and Ord1
classes
v2.4.0
- Add the new
Discard
class to support purescript/purescript#2653
- Fixes a corner case in the
degree
function for Int
.
- Documentation fixes
v2.3.0
- Added
gcd
and lcm
for any EuclideanRing
.
- Fixed some issues with the
EuclideanRing
laws. The Unit
instance is no longer valid, but is being kept around temporarily for the sake of backwards compatibility.
v2.2.0
- Added instances of the form
C b => C (a -> b)
for Semiring
, Ring
, CommutativeRing
, BooleanAlgebra
- Added some documentation for the
Void
type (@chexxor)
- Fixed documentation typos (@mlang, @thoradam)
v2.1.0
- Added
whenM
and unlessM
variants of when
and unless
for situations where the conditional is also in m
v2.0.0
Breaking changes
- Fixed
=<<
to be right associative, as originally intended
- Changed behaviour of
Eq
and Ord
for NaN
numeric value #91 (@berdario)
Enhancements
- Updated docs to include notes about the non-law-abiding numeric instances
- Semigroup
append
for Array
will no longer shallow copy the array if either side is empty #63 (suggested by @natefaubion)
v1.1.0
- Added
flap
and corresponding <@>
operator (@joneshf)
v1.0.1
- A redundant
CommutativeRing
constraint was removed from Field
, the EuclideanRing
constraint already implies CommutativeRing
.