Maintainer | bastiaan.heeren@ou.nl |
---|---|
Stability | provisional |
Portability | portable (depends on ghc) |
Safe Haskell | None |
Language | Haskell98 |
Simple parser that has options for using logging.
Currently used by Interpretation
.
Documentation
data ParserT st s m a Source #
Instances
Monad m => MonadState st (ParserT st s m) Source # | |
MonadTrans (ParserT st s) Source # | |
Defined in Recognize.Parsing.Parser | |
Monad m => Monad (ParserT st s m) Source # | |
Monad m => Functor (ParserT st s m) Source # | |
Monad m => Applicative (ParserT st s m) Source # | |
Defined in Recognize.Parsing.Parser pure :: a -> ParserT st s m a # (<*>) :: ParserT st s m (a -> b) -> ParserT st s m a -> ParserT st s m b # liftA2 :: (a -> b -> c) -> ParserT st s m a -> ParserT st s m b -> ParserT st s m c # (*>) :: ParserT st s m a -> ParserT st s m b -> ParserT st s m b # (<*) :: ParserT st s m a -> ParserT st s m b -> ParserT st s m a # | |
Monad m => Alternative (ParserT st s m) Source # | |
(Monad m, ParseLog m) => ParseLog (ParserT st s m) Source # | |
Monad m => Parse (ParserT st s m) s Source # | |
runParserT :: ParserT st s m a -> st -> [s] -> m [(a, st, [s])] Source #