From: Marnen Laibow-Koser Date: 2009-11-11T00:25:43+09:00 Subject: Re: RCR enumerable extra into core Roger Pack wrote: [...] > > >>> list.map(:method, arg1) > > This would be a natural extension of being able to do list.map(:method) > > but it feels less intuitive than forcing the user to do > >>> list.map{|i| i.method(arg) } > > Or does it? > Thoughts? Questions like this point to the very flaws that indicate that list.map :method is a bad idea. If you understand :symbol.to_proc, or its abbreviation &:symbol, there is no need for the proposed syntax. > -r Best, -- Marnen Laibow-Koser http://www.marnen.org marnen@marnen.org -- Posted via http://www.ruby-forum.com/.