Safe Haskell | None |
---|
Documentation
data ParseState Source
type Parser = Parsec ParsecStateSource
testParser :: Parser a -> String -> Either [String] aSource
getProblem :: Parser [Input Form]Source
variable :: Parsec ParsecState ByteStringSource
number :: Parsec ParsecState IntegerSource
atom :: Parsec ParsecState ByteStringSource
section :: (Tag -> Bool) -> Parser (Maybe IncludeStatement)Source
newFormula :: Input Form -> Parser ()Source
Show Thing | |
FormulaLike Thing | |
TermLike Thing |
class TermLike a => FormulaLike a whereSource
fromFormula :: Form -> aSource
term :: ([binder :: Parser Variable], [ctx :: Maybe (Map ByteString Variable)], TermLike a) => Parser aSource
literal :: ([binder :: Parser Variable], [ctx :: Maybe (Map ByteString Variable)], FormulaLike a) => Parser aSource
formula :: ([binder :: Parser Variable], [ctx :: Maybe (Map ByteString Variable)], FormulaLike a) => Parser aSource
quantified :: ([binder :: Parser Variable], [ctx :: Maybe (Map ByteString Variable)], FormulaLike a) => Parser aSource
unitary :: ([binder :: Parser Variable], [ctx :: Maybe (Map ByteString Variable)], FormulaLike a) => Parser aSource
typeDeclaration :: Parser ()Source