Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
Safe HaskellNone

Util.MultiSet

Description

Simple multiset implementation.

Yes, there's one on hackage, but it breaks on new ghcs.

Documentation

type MultiSet k = Map k Int Source #

insert :: Ord k => k -> MultiSet k -> MultiSet k Source #

lookup :: Ord k => k -> MultiSet k -> Int Source #