Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Release 2.0.0

Compare
Choose a tag to compare
@surol surol released this 09 Oct 08:26
· 473 commits to master since this release

Changes

  • Iterator API redesign.
    PushIterator extends IterableIterator with [PushIterator__symbol]() and isOver() methods.
  • Instant iteration support.
    PushIterable extends Iterable with [PushIterator__symbol]() method, just like the one in PushIterator.
    This makes it possible to start iteration without constructing a new iterator.
    Iteration can be stopped, or suspended and then resumed with continuation iterator returned from this method.

New Features

  • Add pushHead() and itsHead() functions.
    They iterate over the head elements of the given (push) iterable and return its tail iterator.
  • Add pushIterated() and itsIterated() functions.
    They iterates over elements of the given (push) iterable.
  • Add itsFind() function.
    Searches for the value in iterable.
  • Add itsMatch() function.
    Extracts the first element matching the given condition from iterable.