On 11/08/2010 01:51 AM, Darren Duncan wrote:
> Mason Kramer wrote:
> <snip>
>> I want to propose one major change to the Bag spec: When a Bag is used as an 
>> Iterable, you get an Iterator that has each key in proportion to the number 
>> of times it appears in the Bag.
> <snip>
> 
> You present some interesting thoughts here.  But I don't have enough time to 
> think about any implications to the point of agreeing or disagreeing with 
> that 
> change, other than to say that the proposal seems reasonable at first glance.
> 
> However, if the above proposal is done, I would still want an easy way to get 
> the value-count pairs from a bag if I wanted them.

There'd be still .kv and .pairs.

Cheers,
Moritz

Reply via email to