In article <Pine.LNX.4.44.0211142157370.25867-100000 / candle.superlink.net>,
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?

[...]