I would like to be able to use findfirst over a collection defined by an iterator. For example
findfirst(x->x==5, collect(Iterators.flatten((1:2,5:7)))) == 3
but there is no method for
Am I missing an idiomatic way to accomplish what I’d like without reifying the collection? If not, it might make a nice addition to IterTools. I’m using v0.7.0.