tlex-core-0.2.0.0: A lexer generator
Safe HaskellNone
LanguageHaskell2010

Language.Lexer.Tlex.Data.EnumMap

Documentation

data EnumMap k a Source #

Instances

Instances details
Functor (EnumMap k2) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.EnumMap

Methods

fmap :: (a -> b) -> EnumMap k2 a -> EnumMap k2 b #

(<$) :: a -> EnumMap k2 b -> EnumMap k2 a #

Eq a => Eq (EnumMap k2 a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.EnumMap

Methods

(==) :: EnumMap k2 a -> EnumMap k2 a -> Bool #

(/=) :: EnumMap k2 a -> EnumMap k2 a -> Bool #

Show a => Show (EnumMap k2 a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.EnumMap

Methods

showsPrec :: Int -> EnumMap k2 a -> ShowS #

show :: EnumMap k2 a -> String #

showList :: [EnumMap k2 a] -> ShowS #

empty :: Enum k => EnumMap k a Source #

insert :: Enum k => k -> a -> EnumMap k a -> EnumMap k a Source #

assocs :: Enum k => EnumMap k a -> [(k, a)] Source #

keys :: Enum k => EnumMap k a -> [k] Source #

toAscList :: Enum k => EnumMap k a -> [(k, a)] Source #

toDescList :: Enum k => EnumMap k a -> [(k, a)] Source #

lookup :: Enum k => k -> EnumMap k a -> Maybe a Source #

member :: Enum k => k -> EnumMap k a -> Bool Source #

insertOrUpdate :: Enum k => k -> a -> (a -> a) -> EnumMap k a -> EnumMap k a Source #

fromList :: Enum k => [(k, a)] -> EnumMap k a Source #

foldlWithKey' :: Enum k => (b -> k -> a -> b) -> b -> EnumMap k a -> b Source #

update :: Enum k => (a -> Maybe a) -> k -> EnumMap k a -> EnumMap k a Source #

delete :: Enum k => k -> EnumMap k a -> EnumMap k a Source #

singleton :: Enum k => k -> a -> EnumMap k a Source #

unionWith :: Enum k => (a -> a -> a) -> EnumMap k a -> EnumMap k a -> EnumMap k a Source #

intersectionWith :: Enum k => (a -> a -> a) -> EnumMap k a -> EnumMap k a -> EnumMap k a Source #

mapWithKey :: Enum k => (k -> a -> b) -> EnumMap k a -> EnumMap k b Source #

mergeWithKey :: Enum k => (k -> a -> b -> Maybe c) -> (EnumMap k a -> EnumMap k c) -> (EnumMap k b -> EnumMap k c) -> EnumMap k a -> EnumMap k b -> EnumMap k c Source #