On Jul 1, 2006, at 8:27 AM, Matthew Harris wrote: > I don't know if this was posted previously, but I had the idea of a > Array#to_proc, an example would be: > > [9, 19, 29].map(&[:succ, :to_s, :reverse]) > => ["01", "02", "03"] > > I've seen people ask questions such as arr.map(&'meth1.meth2.meth3') > but I think using the Array#to_proc solution is cleaner. > > Would this actually prove useful? It would seem that using the normal > block form would be just as much typing, though. > > -- > Matt > This could very soon start to look like line noise: e.g. [9, 19, 29].map(&%w{succ to_s reverse}) Symbol#to_proc is one thing (although I don't like it), Array#to_proc is too out there, IMO.