Releases: purescript/purescript-arrays
Releases · purescript/purescript-arrays
v7.3.0
v7.2.1
- Updates non-
ST
FFI to use uncurried functions viaFn
types (#235 by @JordanMartinez) - Updates
ST
FFI to use uncurried functions viaSTFnX
types (#234 by @JordanMartinez)
v7.2.0
New features:
- Add
prependArray
(#224 by @JordanMartinez) - Add
Data.Array.ST.length
(#239 by @Blugatroff)
Other improvements:
- Use more efficient implementation for
mapWithIndex
(#233 by @JordanMartinez)
v7.1.0
New features:
- Added
transpose
toArray
(#225 by @newlandsvalley and @JordanMartinez) - Added
transpose
andtranspose'
toArray.NonEmpty
(#227 by @newlandsvalley and @JordanMartinez)
v7.0.0
Breaking changes:
- Migrate FFI to ES modules (#218 by @kl0tl and @JordanMartinez)
- Drop deprecated
group'
andempty
(#219 by @JordanMartinez)
Other improvements:
- Fixed minor documentation issue with
find
(#216 by @JamieBallingall)
v6.0.1
Other improvements:
- Fixed warnings revealed by
v0.14.1
PS release (#213 by @JordanMartinez)
v6.0.0
Breaking changes:
- Added support for PureScript 0.14 and dropped support for all previous versions (#181)
- Renamed
Data.Array.ST.empty
toData.Array.ST.new
(#191, #198) - Renamed
group'
togroupAll
(#194, #200)
New features:
- Added specialized versions of the functions from
Data.Foldable
(#201):- Added
foldl
,foldr
,foldMap
,fold
,intercalate
toArray
- Added
foldl1
,foldr1
,foldMap1
,foldl1
,intercalate
toArray.NonEmpty
- Added
- Added specialized
elem
,notElem
,find
,findMap
,scanl
,scanr
,any
,all
(#189, #193, #201) - Added
intersperse
,groupAllBy
,splitAt
(#179, #188, #194, #200, #201) - Added
mapWithIndex
,groupBy
toArray.NonEmpty
(#201, #164)
Bugfixes:
- Fixed
sort
, soundefined
is sorted by comparison function and not simply moved to the end of the array (#195, #197)
Other improvements:
- Generated changelog and added PR template (#208, #209)
- Added benchmarking (#178)
- Migrated to GitHub Actions for CI (#187, #169)
- Removed some internal usages of
unsafeCoerce
(#184) - Changed
foldM
type signature to more closely matchfoldl
(#160) - Updated installation instructions to use Spago (#171)
- Replaced foreign
cons
,snoc
,drop
,take
with PureScript implementations (#180) - Removed
return {}
from FFI function for a small performance boost (#175) - Bumped pulp version (#174)
- Removed primes from foreign modules exports (#168)
v5.3.1
Replace use of unsafeCoerce in freeze/thaw functions with discrete foreign functions (@andyarvanitis)