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
v7.3.0

v7.3.0

New features:

  • Add ST.clone (#243 by @gbagan)

Other improvements:

  • Implements ST.push via a call to JavaScript’s native push instead of pushAll (#236 by @i-am-the-slime)
about 2 years ago
Download
v7.2.1

v7.2.1

  • Updates non-ST FFI to use uncurried functions via Fn types (#235 by @JordanMartinez)
  • Updates ST FFI to use uncurried functions via STFnX types (#234 by @JordanMartinez)
over 2 years ago
Download
v7.2.0

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)
almost 3 years ago
Download
v7.1.0

v7.1.0

New features:

  • Added transpose to Array (#225 by @newlandsvalley and @JordanMartinez)
  • Added transpose and transpose' to Array.NonEmpty (#227 by @newlandsvalley and @JordanMartinez)
over 3 years ago
Download
v7.0.0

v7.0.0

Breaking changes:

  • Migrate FFI to ES modules (#218 by @kl0tl and @JordanMartinez)
  • Drop deprecated group' and empty (#219 by @JordanMartinez)

Other improvements:

  • Fixed minor documentation issue with find (#216 by @JamieBallingall)
over 3 years ago
Download
v6.0.1

v6.0.1

Other improvements:

  • Fixed warnings revealed by v0.14.1 PS release (#213 by @JordanMartinez)
over 4 years ago
Download
v6.0.0

v6.0.0

Breaking changes:

  • Added support for PureScript 0.14 and dropped support for all previous versions (#181)
  • Renamed Data.Array.ST.empty to Data.Array.ST.new (#191, #198)
  • Renamed group' to groupAll (#194, #200)

New features:

  • Added specialized versions of the functions from Data.Foldable (#201):
    • Added foldl, foldr, foldMap, fold, intercalate to Array
    • Added foldl1, foldr1, foldMap1, foldl1, intercalate to Array.NonEmpty
  • 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 to Array.NonEmpty (#201, #164)

Bugfixes:

  • Fixed sort, so undefined 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 match foldl (#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)
over 4 years ago
Download
v5.3.1

v5.3.1

Replace use of unsafeCoerce in freeze/thaw functions with discrete foreign functions (@andyarvanitis)

about 6 years ago
Download
v5.3.0

v5.3.0

Added pop, shift, unshift, unshiftAll for Data.Array.ST (@8084)

over 6 years ago
Download
v5.2.1

v5.2.1

Performance improvement for nubByEq (@sharno)

over 6 years ago
Download