ghc-7.8.20140130: The GHC API

Safe HaskellSafe-Inferred
LanguageHaskell98

ParserCoreUtils

Documentation

data ParseResult aSource

Constructors

OkP a 
FailP String 

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

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

returnP :: a -> P aSource