Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

Releases: tdreyno/leisure

v2.1.1

18 Feb 21:29
Compare
Choose a tag to compare

2.1.1 (2020-02-18)

Bug Fixes

v2.1.0

11 Feb 00:20
Compare
Choose a tag to compare

2.1.0 (2020-02-11)

Features

  • bundle: export simplex from the root (d08179c)
  • random: adds several ways of generating seeded random numbers (e2da149)

2.0.0

08 Feb 23:22
Compare
Choose a tag to compare
  • Removed internal concept of keys. Everything in a sequence is not 0-indexed like an array.

  • Converted from Generators to a trampoline approach due to performance issues.

Added

  • join to match Array.prototype.
  • cartesianProduct to generate large sequence of products.
  • powerSet to generate large sequence of power sets.
  • combination to generate all possible combinations of items.

Changed

  • All zipper fns (use with zipWith) now return only the mapped data, instead of a tuple with the index.
  • Move simplex functions to @tdreyno/leisure/simplex
  • Move Seq. static methods to top level exports.
  • Rename chain to pipe.
  • reduce and averageBy are now lazy.

Removed

  • Seq.fromSet
  • Seq.prototype.toSet
  • Seq.fromMap
  • Seq.prototype.toMap
  • Seq.fromIterator
  • Seq.fromGenerator