il Wed, 26 May 2004 06:29:51 GMT, Martin DeMello
<martindemello / yahoo.com> ha scritto::

>> Even simpler.. it would make sense to me if it were just named 'maps'
>> 
>>   a, b, c = 3.maps {|n| -n}
>>   # a=0, b=-1, c=-2
>
>Or even just map (there's no Numeric#map) - I don't like that either
>[ruby-talk:62177] but I can't think of anything I like better.

I believe it is Integer#map more than Numeric. What whould you expect
from (3/Complex(1,i)).map {|x| -x} ? :)