An iterator that applies a reduction each step, accumulating the results.
new(it:Iterator<T>, seed:U, acc:(U, T) ‑> U)
hasNext():Bool
next():U