From: Florian Gross Date: 2004-09-20T07:24:44+09:00 Subject: Re: Array#index block and rdetect trans. (T. Onoma) wrote: > Couldn't the index of a hash be considered the key? So the block of #index > when applied is the value. i.e. I agree heavily with this. It would greatly simplify Hashes. If we then could also make them yield(value, key) and merge Enumerable#each and Enumerable#each_with_index (and propagate that to the other methods like #map and so on) Enumerables would really only need to provide #each instead of overwriting all the Hash methods. It would contribute to consistency and simplicity IMHO, but it is a big change. Regards, Florian Gross