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

2.0.0

Compare
Choose a tag to compare
@tdreyno tdreyno released this 08 Feb 23:22
  • 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