From: Jim Weirich Date: 2005-06-02T15:52:41+09:00 Subject: Re: internal iterators in ruby On Thursday 02 June 2005 12:49 am, Eric Hodel wrote: > > That said, it can be tricky to implement zip in Ruby, and I'm � > > guessing the use of continuations is required. > > Array#zip is built-in, but its not hard to implement. It's only hard if you want to avoid reifying the enumerable as array. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)