On Dec 20, 2009, at 5:58 PM, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: [ruby-core:27242] select!" > on Sun, 20 Dec 2009 13:22:11 +0900, Roger Pack <rogerdpack / gmail.com> writes: > > |Is there any reason there's no select! > > Enumerables cannot have bang method, since they are not always > mutable. The reason we don't have Array#select! is that I feel the > word select means picking up elements, not removing non-selecting > elements. But I once felt same way to map! and (English speaking) > people persuaded me, so same thing could happen on select! as well. Array#prune is probably a better verb than #select!. #prune implies changing the receiver into something by picking out what you want. > > matz. > >