From: timsuth@... (Tim Sutherland) Date: 2002-11-15T16:22:41+09:00 Subject: Re: ruby-dev summary 18613-18710 In article , dblack@candle.superlink.net wrote: >Hi -- > >On Fri, 15 Nov 2002, Tim Sutherland wrote: [...] >> [a, b, c].zip { |x, y, z| x*y + z } #=> [5, 2, 7] >> >> Now zip is like lisp's map. > >The optional block is cool, but I don't know about having the return >value of the method being different depending on the presence or >absence of a block. I'm not sure, though. Thanks for the reply David. By return value, do you mean nil vs exception for block vs non-block? [...]