On Sunday, October 5, 2003, 11:39:15 AM, Hal wrote: >> [...] > I like that, but I am already used to the "mapf" that someone proposed > long ago ("map function"). > It's less general but it's also less magic and takes one less > punctuation mark (though one more letter). > %w[foo bar bam].mapf(:reverse) > I'd vote for inclusion of that one also. Yes, I like mapf; in fact I asked for it on this list many moons ago. On the one hand, it's an annoying specialisation of what Symbol#to_proc allows. On the other hand, it's funky. And #map is a very commonly used method, and it's used commonly with very simple blocks, so it has special consideration. It's in the CVS. Gavin