appendmap-0.1.4: Map with a Semigroup and Monoid instances delegating to Semigroup of the elements
Data.Map.Counter
type Counter key = AppendMap key (Sum Int) Source #
mkCounter :: Ord key => key -> Counter key Source #
getCounts :: Counter key -> Map key Int Source #