Skip to content

Releases: purescript/purescript-foldable-traversable

v6.0.0

27 Apr 20:11
b3926f8
Compare
Choose a tag to compare

Breaking changes:

Other improvements:

  • Narrow down unnecessarily imprecise type of mapWithIndexArray (#145)

v5.0.1

21 Apr 02:27
Compare
Choose a tag to compare

Other improvements:

v5.0.0

26 Feb 18:11
f45f03a
Compare
Choose a tag to compare

Breaking changes:

  • Added support for PureScript 0.14 and dropped support for all previous versions (#120)
  • Removed fold1Default and deprecated foldMap1Default (#128)

New features:

  • Added findMapWithIndex (#119)
  • Added foldr1, foldl1, foldr1Default, foldl1Default, foldMap1DefaultR, foldMap1DefaultL (#121, #128)
  • Added maximumBy and minimumBy to Data.Semigroup.Foldable (#123)
  • Added lookup to Data.Foldable; this function previously lived in Data.Tuple in the purescript-tuples package (#131)

Bugfixes:

Other improvements:

  • Migrated CI to GitHub Actions and updated installation instructions to use Spago (#127)
  • Added a CHANGELOG.md file and pull request template (#129, #130)
  • Wrapped traverseArrayImpl IIFE in parentheses (#52)
  • Added examples for sequence and traverse (#115)
  • Changed foldM type signature to more closely match foldl (#111)
  • This package now depends on the purescript-const, purescript-either, purescript-functors, purescript-identity, and purescript-tuples packages, and contains instances previously in those packages or the purescript-bifunctors or purescript-profunctor packages (#131)

v4.1.1

23 Nov 12:58
29d5b87
Compare
Choose a tag to compare

Added examples to documentation for intercalate (@shmish111)

v4.1.0

05 Oct 16:33
1de5713
Compare
Choose a tag to compare
  • Added missing exports for minimum and maximum from Data.Semigroup.Foldable (@paluh)

v4.0.1

19 Sep 16:20
531088e
Compare
Choose a tag to compare
  • Fixed totally wrong example in the documentation for scanr! (@ewaldgrusk)

v4.0.0

23 May 10:54
df1a66c
Compare
Choose a tag to compare
  • Updated for PureScript 0.12
  • traverse for Array is now divide-and-conquer (@S11001001)
  • findWithIndex returns both index and value of the found item (@mbid)
  • Added Traversable1 instances for Dual and Multiplicative (@matthewleon)
  • Added minimum and maximum for Foldable1 (@colehaus)
  • Added functions for default Foldable implementations based on FoldableWithIndex (@matthewleon)
  • Added intercalate and intercalateMap for Foldable1 (@matthewleon)

v3.7.1

10 Jan 16:50
a1d31b5
Compare
Choose a tag to compare
  • Fixed shadowed name warnings

v3.7.0

09 Jan 08:53
36c0431
Compare
Choose a tag to compare
  • Added indexl and indexr for Foldables (@safareli)

v3.6.1

18 Sep 16:36
Compare
Choose a tag to compare

Fix test for foldrDefault (@tekerson)