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,500 of 189,169
Downloads: 336,063

Daily

Ranking: 4,832 of 189,148
Downloads: 183

Depended by

RankDownloadsName
25,31957,193roundtrip_xml
83,26910,898reddit_bag_of_words

Depends on

RankDownloadsName
177269,958,887rdoc
2,3169,116,317hoe

Owners

#GravatarHandle
1iconmaraigue