Categories: None [Edit]

multiset

https://rubygems.org/gems/multiset
https://github.com/maraigue/multiset
Unlike ordinary set(see Ruby documentation for "set" library), multiset can contain two or more same items. Set[:a,:b,:c,:b,:b,:c] # => #<Set: {:b, :c, :a}> Multiset[:a,:b,:c,:b,:b,:c] # => #<Multiset:#3 :b, #2 :c, #1 :a> Multisets are typically used for counting elements and their appearances in collections.

Total

Ranking: 9,280 of 193,576
Downloads: 395,479

Daily

Ranking: 7,414 of 193,553
Downloads: 218

Depended by

RankDownloadsName
25,78358,705roundtrip_xml
84,20611,141reddit_bag_of_words

Depends on

RankDownloadsName
164311,936,176rdoc
2,3669,332,915hoe

Owners

#GravatarHandle
1iconmaraigue