hets -- a heterogenous Specification (CASL) tool setContentsIndex
Haskell.Hatchet.HsParseMonad
Synopsis
data ParseResult a
= Ok ParseState a
| Failed String
data LexContext
= NoLayout
| Layout Int
type ParseState = [LexContext]
type P a = String -> SrcLoc -> Int -> ParseState -> ParseResult a
thenP :: P a -> (a -> P b) -> P b
mapP :: (a -> P b) -> [a] -> P [b]
failP :: String -> P a
getSrcLoc :: P SrcLoc
getContext :: P [LexContext]
pushContext :: LexContext -> P ()
popContext :: P ()
Produced by Haddock version 0.6