On 7/19/07, Robert Dober <robert.dober / gmail.com> wrote:
>
> Another example, what are the chances that Hash#map returning an array
> is more useful than returning it a hash. I have complained about this
> "inconsistency" not because it is an inconsistency, but because I feel
> it is an useless, counter productive inconsistency.

Side effect of #map being defined generically in Enumerable, though I
agree that a "structural" map would be more useful for a lot of data
structures.

martin