Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
class (Prod r, Option r) => Map r where Source #
empty :: r h (Map k a) Source #
singleton :: r h (k -> a -> Map k a) Source #
lookup :: MetaOrd k => r h (Map k a -> k -> Maybe a) Source #
alter :: MetaOrd k => r h ((Maybe a -> Maybe a) -> k -> Map k a -> Map k a) Source #
mapMap :: r h ((a -> b) -> Map k a -> Map k b) Source #
unionWith :: MetaOrd k => r h ((a -> a -> a) -> Map k a -> Map k a -> Map k a) Source #
insert :: MetaOrd k => r h (k -> a -> Map k a -> Map k a) Source #
unionWith1 :: (MetaOrd k, Map r) => r h (a -> a -> a) -> r h (Map k a -> Map k a -> Map k a) Source #
alter2 :: (MetaOrd a, Map r) => r h (Maybe a1 -> Maybe a1) -> r h a -> r h (Map a a1 -> Map a a1) Source #
singleton2 :: Map r => r h a1 -> r h a -> r h (Map a1 a) Source #
module DDF.Prod
module DDF.Option
module DDF.Ordering