Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
type IntLikeMultiMap k v = IntLikeMap k (IntLikeSet v) Source #
empty :: IntLikeMultiMap k v Source #
size :: IntLikeMultiMap k v -> Int Source #
toList :: Coercible k Int => IntLikeMultiMap k v -> [(k, IntLikeSet v)] Source #
insert :: (Coercible k Int, Coercible v Int) => k -> v -> IntLikeMultiMap k v -> IntLikeMultiMap k v Source #
invertDisjoint :: (Coercible k Int, Coercible v Int) => IntLikeMultiMap k v -> Either (k, k, v) (IntLikeMap v k) Source #
unsafeInvertDisjoint :: (Coercible k Int, Coercible v Int) => IntLikeMultiMap k v -> IntLikeMap v k Source #
fromInvertedMap :: (Coercible k Int, Coercible v Int) => IntLikeMap k v -> IntLikeMultiMap v k Source #