tlex-encoding-0.3.0.0: Encoding plugin for Tlex
Safe HaskellNone
LanguageHaskell2010

Language.Lexer.Tlex.Data.Reporter

Documentation

data Reporter e a Source #

Instances

Instances details
Monad (Reporter e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.Reporter

Methods

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

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

return :: a -> Reporter e a #

Functor (Reporter e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.Reporter

Methods

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

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

Applicative (Reporter e) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.Reporter

Methods

pure :: a -> Reporter e a #

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

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

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

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

CharSetEncoder (Reporter EncodeWarning) Source # 
Instance details

Defined in Language.Lexer.Tlex.Plugin.Encoding.CharSetP

(Eq e, Eq a) => Eq (Reporter e a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.Reporter

Methods

(==) :: Reporter e a -> Reporter e a -> Bool #

(/=) :: Reporter e a -> Reporter e a -> Bool #

(Show e, Show a) => Show (Reporter e a) Source # 
Instance details

Defined in Language.Lexer.Tlex.Data.Reporter

Methods

showsPrec :: Int -> Reporter e a -> ShowS #

show :: Reporter e a -> String #

showList :: [Reporter e a] -> ShowS #

report :: e -> Reporter e () Source #

getReports :: Reporter e a -> [e] Source #

toEither :: Reporter e a -> Either [e] a Source #