extcore-1.0.2: Libraries for processing GHC Core

Safe HaskellSafe-Inferred

Language.Core.ParseGlue

Documentation

data ParseResult a Source

Constructors

OkP a 
FailP String 

Instances

Show a => Show (ParseResult a) 

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

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

returnP :: a -> P aSource