tlex-core-0.2.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 #

Enum a => Semigroup (EnumSet a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.EnumSet

Methods

(<>) :: EnumSet a -> EnumSet a -> EnumSet a #

sconcat :: NonEmpty (EnumSet a) -> EnumSet a #

stimes :: Integral b => b -> EnumSet a -> EnumSet a #

Enum a => Monoid (EnumSet a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.EnumSet

Methods

mempty :: EnumSet a #

mappend :: EnumSet a -> EnumSet a -> EnumSet a #

mconcat :: [EnumSet a] -> EnumSet a #

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 #