tlex-0.2.0.0: A lexer generator
Safe HaskellNone
LanguageHaskell2010

Language.Lexer.Tlex.Data.InputString

Documentation

newtype InputString e a Source #

Constructors

InputString 

Instances

Instances details
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 #

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 #

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 #

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

Defined in Language.Lexer.Tlex.Data.InputString