This repository was archived by the owner on Sep 17, 2023. It is now read-only.
Release 2.0.0
Changes
- Iterator API redesign.
PushIterator
extendsIterableIterator
with[PushIterator__symbol]()
andisOver()
methods. - Instant iteration support.
PushIterable
extendsIterable
with[PushIterator__symbol]()
method, just like the one inPushIterator
.
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()
anditsHead()
functions.
They iterate over the head elements of the given (push) iterable and return its tail iterator. - Add
pushIterated()
anditsIterated()
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.