// apply a function to an iterator static IterableIterator mapIterator(O f, Iterator i) { ret mapI(f, i); } static IterableIterator mapIterator(Iterator i, O f) { ret mapI(i, f); } static IterableIterator mapIterator(Iterable i, O f) { ret mapI(iterator(i), f); }