Is there any appetite for an Iterators.cat
function? I often use Iterators.flatten
like this:
Iterators.flatten((itr1, itr2, itr3))
But it feels kind of silly to put the iterators in a tuple just so I can concatenate them. I think a more natural syntax would be
Iterators.cat(itr1, itr2, itr3)
where Iterators.cat
is a Vararg
function.