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

Language.Lexer.Tlex.Data.EnumSet

Documentation

data EnumSet a Source #

Instances

Instances details
Eq (EnumSet a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.EnumSet

Methods

(==) :: EnumSet a -> EnumSet a -> Bool #

(/=) :: EnumSet a -> EnumSet a -> Bool #

Show (EnumSet a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.EnumSet

Methods

showsPrec :: Int -> EnumSet a -> ShowS #

show :: EnumSet a -> String #

showList :: [EnumSet a] -> ShowS #

Hashable (EnumSet a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.EnumSet

Methods

hashWithSalt :: Int -> EnumSet a -> Int #

hash :: EnumSet a -> Int #

singleton :: Enum a => a -> EnumSet a Source #

insert :: Enum a => a -> EnumSet a -> EnumSet a Source #

union :: Enum a => EnumSet a -> EnumSet a -> EnumSet a Source #

partition :: Enum a => (a -> Bool) -> EnumSet a -> (EnumSet a, EnumSet a) Source #

fromList :: Enum a => [a] -> EnumSet a Source #

toList :: Enum a => EnumSet a -> [a] Source #