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 :: Ord k => r h (Map k a -> k -> Maybe a) Source #
alter :: Ord 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 :: Ord k => r h ((a -> a -> a) -> Map k a -> Map k a -> Map k a) Source #
insert :: Ord k => r h (k -> a -> Map k a -> Map k a) Source #
alter2 :: (Ord 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