Kevin Smith wrote: >g forever wrote: >>Parallel iterators and streams without threads - Call to experts > >That's not me, but I'll speak up anyway. > >>After trial and error I found a way to iterate over two streams in parallel. >>Being new to Ruby it was an useful exercise in forcing me to look intensely >>at a lot of features. The solution below works, but I have three isuues. >> >>(foo,bar) do |i,j| >> #process i and j as needed >> yield i,j # to achieve closure >>end OOPS. I just wanted to point out that through cut- and-past, I managed to turn this into a mis-quote or quote out of context. The solution above does not work, and the original poster made no claim that it did. It is a pseudocode representation of what s/he would like to see in the language. Sorry! Kevin