Releases: purescript/purescript-foldable-traversable
Releases · purescript/purescript-foldable-traversable
v6.0.0
Breaking changes:
- Migrate FFI to ES modules (#146 by @kl0tl and @JordanMartinez)
- Drop deprecated
foldMap1Default
(#147 by @JordanMartinez)
Other improvements:
- Narrow down unnecessarily imprecise type of
mapWithIndexArray
(#145)
v5.0.1
Other improvements:
- Fix warnings revealed by v0.14.1 PureScript release (#135 by @JordanMartinez)
v5.0.0
Breaking changes:
- Added support for PureScript 0.14 and dropped support for all previous versions (#120)
- Removed
fold1Default
and deprecatedfoldMap1Default
(#128)
New features:
- Added
findMapWithIndex
(#119) - Added
foldr1
,foldl1
,foldr1Default
,foldl1Default
,foldMap1DefaultR
,foldMap1DefaultL
(#121, #128) - Added
maximumBy
andminimumBy
toData.Semigroup.Foldable
(#123) - Added
lookup
toData.Foldable
; this function previously lived inData.Tuple
in thepurescript-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
andtraverse
(#115) - Changed
foldM
type signature to more closely matchfoldl
(#111) - This package now depends on the
purescript-const
,purescript-either
,purescript-functors
,purescript-identity
, andpurescript-tuples
packages, and contains instances previously in those packages or thepurescript-bifunctors
orpurescript-profunctor
packages (#131)
v4.1.1
Added examples to documentation for intercalate
(@shmish111)
v4.1.0
v4.0.1
v4.0.0
- Updated for PureScript 0.12
traverse
forArray
is now divide-and-conquer (@S11001001)findWithIndex
returns both index and value of the found item (@mbid)- Added
Traversable1
instances forDual
andMultiplicative
(@matthewleon) - Added
minimum
andmaximum
forFoldable1
(@colehaus) - Added functions for default
Foldable
implementations based onFoldableWithIndex
(@matthewleon) - Added
intercalate
andintercalateMap
forFoldable1
(@matthewleon)