ghc-7.8.2: The GHC API

Safe HaskellSafe-Inferred
LanguageHaskell98

ParserCoreUtils

Documentation

data ParseResult a Source

Constructors

OkP a 
FailP String 

type P a = String -> Int -> ParseResult a Source

thenP :: P a -> (a -> P b) -> P b Source

returnP :: a -> P a Source