An iterator that applies a reduction each step, accumulating the results.

Constructor

new(it:Iterator<T>, seed:U, acc:(U, T) ‑> U)

Methods

hasNext():Bool

next():U