Data.IntMap.EnumMap2

regex-tdfa-1.2.1: Replaces/Enhances Text.Regex

Safe Haskell | Safe
Language | Haskell98

Data.IntMap.EnumMap2

# Documentation

newtype EnumMap k a

Constructors

EnumMap |
Fields unEnumMap :: IntMap a

Instances

Ord k => Functor (EnumMap k) |
Ord k => Foldable (EnumMap k) |
Eq a => Eq (EnumMap k a) |
Ord a => Ord (EnumMap k a) |
Read a => Read (EnumMap k a) |
Show a => Show (EnumMap k a) |
Ord k => Monoid (EnumMap k a) |

(!) :: Enum key => EnumMap key a -> key -> a

(\\) :: Enum key => EnumMap key a -> EnumMap key b -> EnumMap key a

null :: Enum key => EnumMap key a -> Bool

size :: Enum key => EnumMap key a -> Int

member :: Enum key => key -> EnumMap key a -> Bool

notMember :: Enum key => key -> EnumMap key a -> Bool

lookup :: Enum key => key -> EnumMap key a -> Maybe a

findWithDefault :: Enum key => a -> key -> EnumMap key a -> a

empty :: Enum key => EnumMap key a

singleton :: Enum key => key -> a -> EnumMap key a

insert :: Enum key => key -> a -> EnumMap key a -> EnumMap key a

insertWith :: Enum key => (a -> a -> a) -> key -> a -> EnumMap key a -> EnumMap key a

insertWithKey :: Enum key => (key -> a -> a -> a) -> key -> a -> EnumMap key a -> EnumMap key a

insertLookupWithKey :: Enum key => (key -> a -> a -> a) -> key -> a -> EnumMap key a -> (Maybe a, EnumMap key a)

delete :: Enum key => key -> EnumMap key a -> EnumMap key a

adjust :: Enum key => (a -> a) -> key -> EnumMap key a -> EnumMap key a

adjustWithKey :: Enum key => (key -> a -> a) -> key -> EnumMap key a -> EnumMap key a

update :: Enum key => (a -> Maybe a) -> key -> EnumMap key a -> EnumMap key a

updateWithKey :: Enum key => (key -> a -> Maybe a) -> key -> EnumMap key a -> EnumMap key a

updateLookupWithKey :: Enum key => (key -> a -> Maybe a) -> key -> EnumMap key a -> (Maybe a, EnumMap key a)

union :: Enum key => EnumMap key a -> EnumMap key a -> EnumMap key a

unionWith :: Enum key => (a -> a -> a) -> EnumMap key a -> EnumMap key a -> EnumMap key a

unionWithKey :: Enum key => (key -> a -> a -> a) -> EnumMap key a -> EnumMap key a -> EnumMap key a

unions :: Enum key => [EnumMap key a] -> EnumMap key a

unionsWith :: Enum key => (a -> a -> a) -> [EnumMap key a] -> EnumMap key a

difference :: Enum key => EnumMap key a -> EnumMap key b -> EnumMap key a

differenceWith :: Enum key => (a -> b -> Maybe a) -> EnumMap key a -> EnumMap key b -> EnumMap key a

differenceWithKey :: Enum key => (key -> a -> b -> Maybe a) -> EnumMap key a -> EnumMap key b -> EnumMap key a

intersection :: Enum key => EnumMap key a -> EnumMap key b -> EnumMap key a

intersectionWith :: Enum key => (a -> b -> a) -> EnumMap key a -> EnumMap key b -> EnumMap key a

intersectionWithKey :: Enum key => (key -> a -> b -> a) -> EnumMap key a -> EnumMap key b -> EnumMap key a

map :: Enum key => (a -> b) -> EnumMap key a -> EnumMap key b

mapWithKey :: Enum key => (key -> a -> b) -> EnumMap key a -> EnumMap key b

mapAccum :: Enum key => (a -> b -> (a, c)) -> a -> EnumMap key b -> (a, EnumMap key c)

mapAccumWithKey :: Enum key => (a -> key -> b -> (a, c)) -> a -> EnumMap key b -> (a, EnumMap key c)

fold :: Enum key => (a -> b -> b) -> b -> EnumMap key a -> b

foldWithKey :: Enum key => (key -> a -> b -> b) -> b -> EnumMap key a -> b

elems :: Enum key => EnumMap key a -> [a]

keys :: Enum key => EnumMap key a -> [key]

keysSet :: Enum key => EnumMap key a -> EnumSet key

assocs :: Enum key => EnumMap key a -> [(key, a)]

toList :: Enum key => EnumMap key a -> [(key, a)]

fromList :: Enum key => [(key, a)] -> EnumMap key a

fromListWith :: Enum key => (a -> a -> a) -> [(key, a)] -> EnumMap key a

fromListWithKey :: Enum key => (key -> a -> a -> a) -> [(key, a)] -> EnumMap key a

toAscList :: Enum key => EnumMap key a -> [(key, a)]

fromAscList :: Enum key => [(key, a)] -> EnumMap key a

fromAscListWith :: Enum key => (a -> a -> a) -> [(key, a)] -> EnumMap key a

fromAscListWithKey :: Enum key => (key -> a -> a -> a) -> [(key, a)] -> EnumMap key a

fromDistinctAscList :: Enum key => [(key, a)] -> EnumMap key a

filter :: Enum key => (a -> Bool) -> EnumMap key a -> EnumMap key a

filterWithKey :: Enum key => (key -> a -> Bool) -> EnumMap key a -> EnumMap key a

partition :: Enum key => (a -> Bool) -> EnumMap key a -> (EnumMap key a, EnumMap key a)

partitionWithKey :: Enum key => (key -> a -> Bool) -> EnumMap key a -> (EnumMap key a, EnumMap key a)

mapMaybe :: Enum key => (a -> Maybe b) -> EnumMap key a -> EnumMap key b

mapMaybeWithKey :: Enum key => (key -> a -> Maybe b) -> EnumMap key a -> EnumMap key b

mapEither :: Enum key => (a -> Either b c) -> EnumMap key a -> (EnumMap key b, EnumMap key c)

mapEitherWithKey :: Enum key => (key -> a -> Either b c) -> EnumMap key a -> (EnumMap key b, EnumMap key c)

split :: Enum key => key -> EnumMap key a -> (EnumMap key a, EnumMap key a)

splitLookup :: Enum key => key -> EnumMap key a -> (EnumMap key a, Maybe a, EnumMap key a)

isSubmapOf :: (Enum key, Eq a) => EnumMap key a -> EnumMap key a -> Bool

isSubmapOfBy :: Enum key => (a -> b -> Bool) -> EnumMap key a -> EnumMap key b -> Bool

isProperSubmapOf :: (Enum key, Eq a) => EnumMap key a -> EnumMap key a -> Bool

isProperSubmapOfBy :: Enum key => (a -> b -> Bool) -> EnumMap key a -> EnumMap key b -> Bool

showTree :: (Enum key, Show a) => EnumMap key a -> String

showTreeWith :: (Enum key, Show a) => Bool -> Bool -> EnumMap key a -> String