From: Sean O'Halpin Date: 2006-07-05T14:18:13+09:00 Subject: Re: Parallel Array On 7/5/06, Logan Capaldo wrote: > > On Jul 4, 2006, at 11:13 PM, Sean O'Halpin wrote: > > > BTW, does anyone know why zip with a block returns nil? It would be > > handy to have it map. > > #zip with a block acts as an #each style iterator: It's not quite the same - each returns the receiver not nil. I was wondering what the rationale of zip returning nil was. It would be more consistent to return the receiver and perhaps handier to act like map. No big deal though. Regards, Sean