tlex-0.4.0.0: A lexer generator
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Lexer.Tlex.Data.InputString

Documentation

newtype InputString e a Source #

Constructors

InputString 

Instances

Instances details
Applicative (InputString e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.InputString

Methods

pure :: a -> InputString e a #

(<*>) :: InputString e (a -> b) -> InputString e a -> InputString e b #

liftA2 :: (a -> b -> c) -> InputString e a -> InputString e b -> InputString e c #

(*>) :: InputString e a -> InputString e b -> InputString e b #

(<*) :: InputString e a -> InputString e b -> InputString e a #

Functor (InputString e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.InputString

Methods

fmap :: (a -> b) -> InputString e a -> InputString e b #

(<$) :: a -> InputString e b -> InputString e a #

Monad (InputString e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.InputString

Methods

(>>=) :: InputString e a -> (a -> InputString e b) -> InputString e b #

(>>) :: InputString e a -> InputString e b -> InputString e b #

return :: a -> InputString e a #

Enum e => TlexContext (InputStringContext e) e (InputString e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.InputString