Karya, built on 2022-03-21T01:30:44 (patch 89d1651424c35e564138d93424a157ff87457245)
Safe HaskellSafe-Inferred

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 #