Skip to content

Releases: purescript/purescript-prelude

v6.0.1

18 Aug 20:07
Compare
Choose a tag to compare

Other improvements:

  • Documentation: Clarify relationship between Ord and Eq (#298 by @JamieBallingall)
  • Remove array allocation and local array FFI from the Show instance for records. (#299 by @ajnsit)

v6.0.0

27 Apr 13:39
32787f4
Compare
Choose a tag to compare

Breaking changes:

New features:

Bugfixes:

Other improvements:

v5.0.1

11 May 21:12
68f8012
Compare
Choose a tag to compare

Other improvements:

v5.0.0

26 Feb 07:26
3771777
Compare
Choose a tag to compare

Breaking changes:

  • Support compiler version v0.14.0, and drop support for previous versions (#206, #226)
  • purescript-proxy was ported to this repo (#230)
  • purescript-generics-rep was ported to this repo (#235)
  • Move the Applicative Superclass law from Monad to Bind and rename it
    to the Apply Superclass law (#229)
  • Removed unsafeCompare (#257)

New features:

  • Added Bounded instance for records (#208)
  • Added Show instances to Data.Generics.Rep types (#250)
  • Added toRep (#238)

Bugfixes:

  • No longer use reference equality check in Array's Eq instance because it breaks referential transparency (#187).
  • Fix Ring laws (#228)

Documentation improvements:

  • Added lift2 example using Maybe (#213)
  • Added const example (#214)
  • Added power example (#253)
  • Clarify Array's do notation and the purposes of Monoid and Semigroup newtypes (#217)
  • Clarify Unit representation in FFI code (#223)
  • Fix typo: 'ommitted' -> 'omitted' (#220)

Other improvements:

  • Migrated to GitHub Actions (#234)
  • Added a CHANGELOG.md file and PR template (#254)

v4.1.0

17 Jul 21:19
7a691ce
Compare
Choose a tag to compare
  • Added Ord instance for records

v4.0.1

07 Jun 08:49
3fcaeb9
Compare
Choose a tag to compare
  • Performance improvement for Array equality, now performs a reference check before comparing contents (@jazmit)

v4.0.0

22 May 20:54
da43e7d
Compare
Choose a tag to compare

This version is for PureScript v0.12.x.

Breaking changes

  • id has been renamed to identity
  • The modulo and division behaviour for integers is now based on Euclidean division. Functions implementing the old div/mod behaviour are available as quot/rem in purescript-integers. (#161, #168)
  • The definition of Field has been altered. It is no longer necessary to provide an instance for this, there is a single instance now for every type that implements EuclideanRing and DivisionRing .

Other changes

  • Monoid has been moved into the prelude
  • Data.Symbol has been moved into the prelude
  • RProxy and RLProxy have been moved into the prelude
  • There are now various instances available for records: Eq, Show, Semigroup, Monoid, Semiring... etc. (@i-am-tom)

v3.3.0

13 Apr 21:36
3cbf8d3
Compare
Choose a tag to compare
  • Added Data.Function.applyN for repeatedly applying a function to an initial value (@matthewleon)

v3.2.0

07 Apr 17:10
aad9768
Compare
Choose a tag to compare
  • Added Bounded instance for Number (@erisco)

v3.1.1

01 Nov 19:37
8bf3ca6
Compare
Choose a tag to compare

Remove unused refIneq function (@metaleap)