ghc-7.4.2: The GHC API

Safe HaskellSafe-Infered

ParserCoreUtils

Documentation

data ParseResult a Source

Constructors

OkP a 
FailP String 

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

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

returnP :: a -> P aSource