Yukihiro Matsumoto <matz / ruby-lang.org> wrote:
> In message "Re: Proposal: Array#to_h, to simplify hash generation"
>    on 03/07/20, Martin DeMello <martindemello / yahoo.com> writes:
> |
> |And we already have Array methods that assume an associative array.
> 
> I think you mean assoc and rassoc.  But they are look-up methods.  No
> harm would happen for non assoc input for them.  I feel like Hash
> creation is little bit different.

Actually, I've always felt those were out of place in Array too. And if
they were factored out into an AssocArray mixin, we could conveniently
put hashify there.

martin