Is it possible to use 'yield' to generate 'Iterator' instead of a list in Scala?
Is it possible to use yield as an iterator without evaluation of every value?
It is a common task when it is easy to implement complex list generation, and then you need to convert it into Iterator, because you don't need some results...