Issue #17744 has been updated by matz (Yukihiro Matsumoto).


Go ahead.

Matz.


----------------------------------------
Feature #17744: Accumulate `Enumerable#tally` results
https://bugs.ruby-lang.org/issues/17744#change-91074

* Author: nobu (Nobuyoshi Nakada)
* Status: Open
* Priority: Normal
----------------------------------------
A [feature request] at [DevelopersMeeting20200317Japan]:
> * ko1: want to accumulate `Enumerable#tally` results
>
>     ```ruby
>     h = {}
>     [:a,:b,:c].tally(h)
>     [:a,:b,:d].tally(h)
>
>     p h #=> {:a=>2, :b=>2, :c=>1, :d=>1}
>     ```
>
> * matz: looks good. please create a proposal

[DevelopersMeeting20200317Japan]: https://hackmd.io/nNo0Sb3nRCmQpIwR8XvusA#Other-topics-3
[feature request]: https://github.com/ruby/ruby/pull/4318



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>