Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type Result posMark = ParseResult posMark () Source #
data ParseResult posMark altHelp a Source #
Parsed a | |
ParseFailed posMark (FailedReason altHelp) |
Instances
Functor (ParseResult posMark altHelp) Source # | |
Defined in Language.Parser.Ptera.Runner.RunT fmap :: (a -> b) -> ParseResult posMark altHelp a -> ParseResult posMark altHelp b # (<$) :: a -> ParseResult posMark altHelp b -> ParseResult posMark altHelp a # | |
(Show a, Show posMark, Show altHelp) => Show (ParseResult posMark altHelp a) Source # | |
Defined in Language.Parser.Ptera.Runner.RunT showsPrec :: Int -> ParseResult posMark altHelp a -> ShowS # show :: ParseResult posMark altHelp a -> String # showList :: [ParseResult posMark altHelp a] -> ShowS # |
runParserM :: forall v initials ctx posMark m rules elem proxy. Member initials v => T posMark elem m => proxy v -> RunnerM ctx rules elem initials -> ctx -> m (Result posMark (RuleExprReturnType rules v)) Source #