From: Simon Strandgaard Date: 2004-04-13T06:39:17+09:00 Subject: Re: zip block oddities/bug? On Mon, 12 Apr 2004 15:40:06 +0000, Martin DeMello wrote: > Note the difference: > > a.zip(b,c).map {|i| ... } # builds the array, then iterates over it > a.zip(b,c) {|i| ... } # generates values one by one and calls block > > If the latter functionality were not built into zip, there'd be no way > to do it from 'outside', short of using a continuation. As daz points > out, there are definitely times you'd want to iterate without building > either an intermediate or an output array. I think thats a broken metaphor, to do multiway each by means of zip. I don't wanna defend my idea any longer (too much resistance). Isn't there any which can say something positive.. or agree with me on this ? Thanks for all your comments. -- Simon Strandgaard