ghc-7.0.2: The GHC API

ParserCoreUtils

Documentation

data ParseResult a

Constructors

OkP a 
FailP String 

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

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

returnP :: a -> P a

failP :: String -> P a