From: George Ogata Date: 2002-09-25T16:42:20+09:00 Subject: Re: select and select > What about > l,m,n = thing.lookup(x,y,z) > then? One is basically using these hashes/arrays like a directory, > a table, or even like a database of sorts.... > > Hugh Well, it could be seen as a function or mapping as well, in which case: subimage subrange apply map_to The latter being reinforced by it being sort of a reversed way of calling #map on an array of indices: [2,5,7].map {|i| a[i]} == a.map_to(2,5,7) Other wacky ideas: these reap gather I think gather sounds natural, but maybe it'd be assumed to be an alias of #collect. (?)