Util.MultiSet
Description
Simple multiset implementation.
Yes, there's one on hackage, but it breaks on new ghcs.
type MultiSet k = Map k Int Source #
insert :: Ord k => k -> MultiSet k -> MultiSet k Source #
lookup :: Ord k => k -> MultiSet k -> Int Source #