Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
Ord k => Foldable (EnumMap k) Source # | |
Defined in Data.IntMap.EnumMap2 fold :: Monoid m => EnumMap k m -> m foldMap :: Monoid m => (a -> m) -> EnumMap k a -> m foldMap' :: Monoid m => (a -> m) -> EnumMap k a -> m foldr :: (a -> b -> b) -> b -> EnumMap k a -> b foldr' :: (a -> b -> b) -> b -> EnumMap k a -> b foldl :: (b -> a -> b) -> b -> EnumMap k a -> b foldl' :: (b -> a -> b) -> b -> EnumMap k a -> b foldr1 :: (a -> a -> a) -> EnumMap k a -> a foldl1 :: (a -> a -> a) -> EnumMap k a -> a elem :: Eq a => a -> EnumMap k a -> Bool maximum :: Ord a => EnumMap k a -> a minimum :: Ord a => EnumMap k a -> a | |
Ord k => Functor (EnumMap k) Source # | |
Ord k => Monoid (EnumMap k a) Source # | |
Ord k => Semigroup (EnumMap k a) Source # | |
Read a => Read (EnumMap k a) Source # | |
Defined in Data.IntMap.EnumMap2 | |
Show a => Show (EnumMap k a) Source # | |
Eq a => Eq (EnumMap k a) Source # | |
Ord a => Ord (EnumMap k a) Source # | |
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 #
updateWithKey :: Enum key => (key -> a -> Maybe 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 #
filterWithKey :: Enum key => (key -> a -> Bool) -> EnumMap key a -> EnumMap key a Source #
partitionWithKey :: Enum key => (key -> a -> Bool) -> EnumMap key a -> (EnumMap key a, EnumMap key a) Source #
mapMaybeWithKey :: Enum key => (key -> a -> Maybe b) -> EnumMap key a -> EnumMap key b Source #
mapEither :: Enum key => (a -> Either b c) -> EnumMap key a -> (EnumMap key b, EnumMap key c) Source #
mapEitherWithKey :: Enum key => (key -> a -> Either b c) -> EnumMap key a -> (EnumMap key b, EnumMap key c) Source #
isSubmapOf :: (Enum key, Eq a) => EnumMap key a -> EnumMap key a -> Bool Source #
isSubmapOfBy :: Enum key => (a -> b -> Bool) -> EnumMap key a -> EnumMap key b -> Bool Source #
isProperSubmapOf :: (Enum key, Eq a) => EnumMap key a -> EnumMap key a -> Bool Source #
isProperSubmapOfBy :: Enum key => (a -> b -> Bool) -> EnumMap key a -> EnumMap key b -> Bool Source #
showTreeWith :: (Enum key, Show a) => Bool -> Bool -> EnumMap key a -> String Source #