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: 10,124 of 186,715
Downloads: 271,615

Daily

Ranking: 7,078 of 186,700
Downloads: 263

Depended by

RankDownloadsName
25,55553,302roundtrip_xml
83,39210,258reddit_bag_of_words

Depends on

RankDownloadsName
190231,222,153rdoc
2,2578,889,118hoe

Owners

#GravatarHandle
1iconmaraigue