Skip to content

Releases: purescript/purescript-prelude

v3.1.0

27 Jun 17:05
Compare
Choose a tag to compare

v3.0.0

25 Mar 22:33
Compare
Choose a tag to compare
  • Updated for PureScript 0.11
  • Removed incorrect EuclideanRing Unit and Field Unit instances

v2.5.0

02 Mar 21:50
Compare
Choose a tag to compare
  • Added Eq1 and Ord1 classes

v2.4.0

13 Feb 19:46
Compare
Choose a tag to compare
  • 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

29 Jan 02:47
Compare
Choose a tag to compare
  • 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

26 Jan 22:45
Compare
Choose a tag to compare
  • 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

30 Sep 17:04
Compare
Choose a tag to compare
  • Added whenM and unlessM variants of when and unless for situations where the conditional is also in m

v2.0.0

26 Sep 16:39
Compare
Choose a tag to compare

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

26 Sep 16:35
Compare
Choose a tag to compare
  • Added flap and corresponding <@> operator (@joneshf)

v1.0.1

07 Jun 09:38
Compare
Choose a tag to compare
  • A redundant CommutativeRing constraint was removed from Field, the EuclideanRing constraint already implies CommutativeRing.