From: Daniel Berger Date: 2005-02-24T23:55:03+09:00 Subject: Re: "Map" mixin analogously to "Enumerable" gabriele renzi wrote: > see the existing RCR, #277 IIRC. Maybe I should add your code (if you > allow me to do it), but I'm out of time ATM :/ > Anyway, I guess a C patch to current ruby would have more chance to be > accepted :) > Oh, and I definitely agree with you a Map mixin would be great :) I think you meant RCR #278, Hash#collect_to_hash. RCR #277 is 'Make def return something useful', which you should support, because I wrote it. ;) I've always wondered if it would have been better to have a List superclass from which classes like Array and Hash would be subclasses. But perhaps that's neither here nor there. Regards, Dan