A type of Iterator that can apply a function before yielding each element

Fields

next:A ‑> B ‑> B

hasNext:() ‑> Bool