Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Documentation
findWithDefault :: Enum key => a -> key -> EnumMap key a -> a Source
insertWith :: Enum key => (a -> a -> a) -> key -> a -> EnumMap key a -> EnumMap key a Source
insertWithKey :: Enum key => (key -> a -> a -> a) -> key -> a -> EnumMap key a -> EnumMap key a Source
insertLookupWithKey :: Enum key => (key -> a -> a -> a) -> key -> a -> EnumMap key a -> (Maybe a, EnumMap key a) Source
adjustWithKey :: Enum key => (key -> a -> a) -> key -> EnumMap key a -> EnumMap key a Source
updateLookupWithKey :: Enum key => (key -> a -> Maybe a) -> key -> EnumMap key a -> (Maybe a, EnumMap key a) Source
unionWithKey :: Enum key => (key -> a -> a -> a) -> EnumMap key a -> EnumMap key a -> EnumMap key a Source
unionsWith :: Enum key => (a -> a -> a) -> [EnumMap key a] -> EnumMap key a Source
differenceWith :: Enum key => (a -> b -> Maybe a) -> EnumMap key a -> EnumMap key b -> EnumMap key a Source
differenceWithKey :: Enum key => (key -> a -> b -> Maybe a) -> EnumMap key a -> EnumMap key b -> EnumMap key a Source
intersectionWith :: Enum key => (a -> b -> a) -> EnumMap key a -> EnumMap key b -> EnumMap key a Source
intersectionWithKey :: Enum key => (key -> a -> b -> a) -> EnumMap key a -> EnumMap key b -> EnumMap key a Source
mapWithKey :: Enum key => (key -> a -> b) -> EnumMap key a -> EnumMap key b Source
mapAccumWithKey :: Enum key => (a -> key -> b -> (a, c)) -> a -> EnumMap key b -> (a, EnumMap key c) Source
foldWithKey :: Enum key => (key -> a -> b -> b) -> b -> EnumMap key a -> b Source
fromListWith :: Enum key => (a -> a -> a) -> [(key, a)] -> EnumMap key a Source
fromListWithKey :: Enum key => (key -> a -> a -> a) -> [(key, a)] -> EnumMap key a Source
fromAscList :: Enum key => [(key, a)] -> EnumMap key a Source
fromAscListWith :: Enum key => (a -> a -> a) -> [(key, a)] -> EnumMap key a Source
fromAscListWithKey :: Enum key => (key -> a -> a -> a) -> [(key, a)] -> EnumMap key a Source
fromDistinctAscList :: Enum key => [(key, a)] -> EnumMap key a Source
partitionWithKey :: Enum key => (key -> a -> Bool) -> EnumMap key a -> (EnumMap key a, EnumMap key a) Source
mapEither :: Enum key => (a -> Either b c) -> EnumMap key a -> (EnumMap key b, EnumMap key c) Source