-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsiterationInvolves iteration or the iteration protocolInvolves iteration or the iteration protocol
Description
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.
(Copied and pasted from this Discourse post.)
tkf, Roger-luo, tisztamo, AzamatB, MasonProtter and 8 morerfourquet
Metadata
Metadata
Assignees
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsiterationInvolves iteration or the iteration protocolInvolves iteration or the iteration protocol