ghc-7.6.1: The GHC API

Safe HaskellSafe-Inferred

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