Easy question. There is `.forEach()` on `Iterator`...
# getting-started
p
Easy question. There is
.forEach()
on
Iterator
but not
.map()
. What is the right way to map over an iterator?
solution:
iterator.asSequence().map()...
👍 3