criterion-0.5.0.10: Robust, reliable performance measurement and analysis

Criterion.MultiMap

# Documentation

data MultiMap k v

Instances

(Eq k, Eq v) => Eq (MultiMap k v) |
(Ord k, Ord v) => Ord (MultiMap k v) |
(Ord k, Ord v, Read k, Read v) => Read (MultiMap k v) |
(Show k, Show v) => Show (MultiMap k v) |
(Ord k, Ord v) => Monoid (MultiMap k v) |

fromMap :: Map k (Set v) -> MultiMap k v

toMap :: MultiMap k v -> Map k (Set v)

singleton :: k -> v -> MultiMap k v

lookup :: (Ord k, Ord v) => k -> MultiMap k v -> Maybe (Set v)