An open API service providing repository metadata for many open source software ecosystems.

GitHub / purescript / purescript-arrays

Array utility functions

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/purescript%2Fpurescript-arrays
PURL: pkg:github/purescript/purescript-arrays

Stars: 57
Forks: 69
Open issues: 19

License: bsd-3-clause
Language: PureScript
Size: 440 KB
Dependencies parsed at: Pending

Created at: over 11 years ago
Updated at: about 1 year ago
Pushed at: almost 2 years ago
Last synced at: 21 days ago

Commit Stats

Commits: 271
Authors: 47
Mean commits per author: 5.77
Development Distribution Score: 0.661
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/purescript/purescript-arrays

Releases
v4.1.1

v4.1.1

  • Improve performance of unzip; this function is now O(n) instead of O(n^2)
  • Various documentation improvements
over 8 years ago
Download
v4.1.0

v4.1.0

  • Batch update and modify functions (@matthewleon)
  • Partial functions for ST arrays (@matthewleon)
over 8 years ago
Download
v4.0.1

v4.0.1

  • Restored compiler-optimized TCO for span
over 8 years ago
Download
v4.0.0

v4.0.0

  • 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)
over 8 years ago
Download
v3.2.1

v3.2.1

Avoid Discard constraints in upcoming 0.11 release.

almost 9 years ago
Download
v3.2.0

v3.2.0

  • 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.
almost 9 years ago
Download
v3.1.0

v3.1.0

  • 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).
almost 9 years ago
Download
v3.0.1

v3.0.1

  • Fixed shadowed name warning
about 9 years ago
Download
v3.0.0

v3.0.0

  • The group functions now return NonEmpty groups
about 9 years ago
Download
v2.0.0

v2.0.0

  • 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)
about 9 years ago
Download