Skip to content

Releases: purescript/purescript-arrays

v4.1.1

20 Jun 19:02
Compare
Choose a tag to compare
  • Improve performance of unzip; this function is now O(n) instead of O(n^2)
  • Various documentation improvements

v4.1.0

28 May 01:54
Compare
Choose a tag to compare

v4.0.1

29 Mar 00:56
Compare
Choose a tag to compare
  • Restored compiler-optimized TCO for span

v4.0.0

26 Mar 20:27
Compare
Choose a tag to compare
  • Updated for PureScript 0.11.0
  • filterM has been removed (filterA is better) (@hdgarrood)
  • Improved performance of concat (@dikmax)
  • Improved performance of replicate for browsers with fill (@dikmax)
  • Added sortWith (@negator)

v3.2.1

14 Feb 21:22
Compare
Choose a tag to compare

Avoid Discard constraints in upcoming 0.11 release.

v3.2.0

20 Jan 17:56
Compare
Choose a tag to compare
  • Add Data.Array.ST.Iterator, for iterating over things in ST computations
  • Add unsafeFreeze for O(1) freezing of STArrays
  • Use ~> in the types for toUnfoldable and fromFoldable (@mlang)
  • Performance boost for groupBy: was quadratic, now linear.

v3.1.0

24 Nov 00:10
Compare
Choose a tag to compare
  • Significant performance boosts for the following functions:
    • head (now O(1), was accidentally O(n))
    • toUnfoldable
    • span
    • difference
  • Add filterA, which is just like filterM, but faster, and it only requires you to have an Applicative (not necessarily a Monad).
  • Deprecate filterM in favour of filterA. In the next major release, filterM will be removed.
  • Add unsnoc (@joshuahhh).

v3.0.1

14 Nov 16:14
Compare
Choose a tag to compare
  • Fixed shadowed name warning

v3.0.0

09 Oct 21:57
Compare
Choose a tag to compare
  • The group functions now return NonEmpty groups

v2.0.0

07 Oct 23:08
Compare
Choose a tag to compare
  • Updated dependencies
  • unsafeIndex is exported from Data.Array rather than Data.Array.Partial now
  • Array-specialised replicate is back
  • Added stack safe version of foldM - foldRecM (@jutaro)
  • Array now re-exports functions from Foldable and Traversable that might otherwise seem to be missing (@Risto-Stevcev)