Notable changes to this project are documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Breaking changes:
New features:
Bugfixes:
Other improvements:
v6.0.1 - 2022-08-18
Other improvements:
- Documentation: Clarify relationship between
OrdandEq(#298 by @JamieBallingall) - Remove array allocation and local array FFI from the
Showinstance for records. (#299 by @ajnsit)
v6.0.0 - 2022-04-27
Breaking changes:
- Migrated FFI to ES Modules (#287 by @kl0tl and @JordanMartinez)
- Change Generic Rep's
NoConstructorsto newtypeVoid(#282 by @JordanMartinez) - Replaced polymorphic proxies with monomorphic
Proxy(#281, #288 by @JordanMartinez) - Fix
signum zeroto returnzero(#280 by @JordanMartinez) - Fix
Showinstance on records with duplicate labels by addingNubconstraint (#269 by @JordanMartinez)
New features:
- Added the
Data.Reflectablemodule for type reflection (#289 by @PureFunctor)
Bugfixes:
Other improvements:
- Changed
unit's FFI representation from{}toundefined(#267 by @JordanMartinez) - Added clearer docs for Prelude module (#270 by @JordanMartinez)
- Clarify docs for
flip(#271 by @JordanMartinez) - Add comment that
Numberis not a fully law abiding instance ofOrd(#277 by @JamieBallingall) - The internal FFI function
joininData.Showhas been renamed tointercalateto match the same function inData.Show.Generic(#274 by @cdepillabout)
v5.0.1 - 2021-05-11
Other improvements:
- Fix warnings revealed by
v0.14.1PS release (#262 by @JordanMartinez)
v5.0.0 - 2021-02-26
Breaking changes:
- Support compiler version
v0.14.0, and drop support for previous versions (#206, #226) purescript-proxywas ported to this repo (#230)purescript-generics-repwas ported to this repo (#235)- Move the
ApplicativeSuperclass law fromMonadtoBindand rename it to theApplySuperclass law (#229) - Removed
unsafeCompare(#257)
New features:
- Added
Boundedinstance for records (#208) - Added
Showinstances toData.Generics.Reptypes (#250) - Added
toRep(#238)
Bugfixes:
- No longer use reference equality check in
Array'sEqinstance because it breaks referential transparency (#187). - Fix Ring laws (#228)
Documentation improvements:
- Added
lift2example usingMaybe(#213) - Added
constexample (#214) - Added
powerexample (#253) - Clarify
Array's do notation and the purposes ofMonoidandSemigroupnewtypes (#217) - Clarify
Unitrepresentation in FFI code (#223) - Fix typo: 'ommitted' -> 'omitted' (#220)
Other improvements:
- Migrated to GitHub Actions (#234)
- Added a
CHANGELOG.mdfile and PR template (#254)
v4.1.1 - 2019-04-20
- Added documentation fixes/improvements to
Data.Monoid.Conjand otherData.Monoidnewtypes (#191, #192) - Made
EqandOrdinstances for primitive types less JavaScript-specific (#183)
v4.1.0 - 2018-07-17
- Added
Ordinstance for records
v4.0.1 - 2018-06-07
- Performance improvement for
Arrayequality, now performs a reference check before comparing contents (@jazmit)
v4.0.0 - 2018-05-22
This version is for PureScript v0.12.x.
Breaking changes
idhas been renamed toidentity- The modulo and division behaviour for integers is now based on Euclidean division. Functions implementing the old
div/modbehaviour are available asquot/reminpurescript-integers. (#161, #168) - The definition of
Fieldhas been altered. It is no longer necessary to provide an instance for this, there is a single instance now for every type that implementsEuclideanRingandDivisionRing.
Other changes
Monoidhas been moved into the preludeData.Symbolhas been moved into the preludeRProxyandRLProxyhave 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 - 2018-04-13
- Added
Data.Function.applyNfor repeatedly applying a function to an initial value (@matthewleon)
v3.2.0 - 2018-04-07
- Added
Boundedinstance forNumber(@erisco)
v3.1.1 - 2017-11-01
Remove unused refIneq function (@metaleap)
v3.1.0 - 2017-06-27
- Fixes for out-of-date documentation (@joneshf, @matthewleon)
- Add a new
DivisionRingclass
v3.0.0 - 2017-03-25
- Updated for PureScript 0.11
- Removed incorrect
EuclideanRing UnitandField Unitinstances
v2.5.0 - 2017-03-02
- Added
Eq1andOrd1classes
v2.4.0 - 2017-02-13
- Add the new
Discardclass to support purescript/purescript#2653 - Fixes a corner case in the
degreefunction forInt. - Documentation fixes
v2.3.0 - 2017-01-29
- Added
gcdandlcmfor anyEuclideanRing. - Fixed some issues with the
EuclideanRinglaws. TheUnitinstance is no longer valid, but is being kept around temporarily for the sake of backwards compatibility.
v2.2.0 - 2017-01-26
- Added instances of the form
C b => C (a -> b)forSemiring,Ring,CommutativeRing,BooleanAlgebra - Added some documentation for the
Voidtype (@chexxor) - Fixed documentation typos (@mlang, @thoradam)
v2.1.0 - 2016-09-30
- Added
whenMandunlessMvariants ofwhenandunlessfor situations where the conditional is also inm
v2.0.0 - 2016-09-26
Breaking changes
- Fixed
=<<to be right associative, as originally intended - Changed behaviour of
EqandOrdforNaNnumeric value #91 (@berdario)
Enhancements
- Updated docs to include notes about the non-law-abiding numeric instances
- Semigroup
appendforArraywill no longer shallow copy the array if either side is empty #63 (suggested by @natefaubion)
v1.1.0 - 2016-09-26
- Added
flapand corresponding<@>operator (@joneshf)
v1.0.1 - 2016-06-07
- A redundant
CommutativeRingconstraint was removed fromField, theEuclideanRingconstraint already impliesCommutativeRing.
v1.0.0 - 2016-06-01
This release is intended for the PureScript 0.9.1 compiler and newer.
Note: The v1.0.0 tag is not meant to indicate the library is “finished”, the core libraries are all being bumped to this for the 0.9 compiler release so as to use semver more correctly.
v1.0.0-rc.6 - 2016-05-23
- Added
Data.NaturalTransformationwith a synonym and type operator alias for natural transformations
v1.0.0-rc.5 - 2016-05-22
- Added general
absandsignumfor types that withOrdandRinginstances (@hdgarrood)
v1.0.0-rc.4 - 2016-05-19
- Various fixes
v0.1.5 - 2016-03-30
- Fixes invalid escape sequence in
Show(@michaelficarra, #65)
v1.0.0-rc.3 - 2016-03-30
- Fixed escaping in
Show#65
v1.0.0-rc.2 - 2016-03-20
- Reworked the hierarchy for number classes to resolve some issues with the laws and admit new instances #61
- Introduced
HeytingAlgebraas a superclass ofBooleanAlgebra#62
v1.0.0-rc.1 - 2016-02-29
- Release candidate for the psc 0.8+ prelude
v0.1.4 - 2016-01-27
- Fixed the escaping used in
ShowforCharandString(@michaelficarra)
v0.1.3 - 2015-10-13
Move Int bounds to foreign module (@andyarvanitis)
v0.1.2 - 2015-08-13
Add Bounded Char instance (@garyb)
v0.1.1 - 2015-07-26
Export unsafeCompare
v0.1.0 - 2015-06-30
This release works with versions 0.7.* of the PureScript compiler. It will not work with older versions. If you are using an older version, you should require an older, compatible version of this library.
v0.1.0-rc.1 - 2015-06-06
Initial release candidate.