Safe Haskell | None |
---|---|
Language | Haskell98 |
Jukebox.TPTP.Parse.Core
Contents
Documentation
data ParseState Source #
type Parser = Parsec ParsecState Source #
type ParsecState = UserState ParseState TokenStream Source #
data IncludeStatement Source #
Instances
initialState :: Maybe String -> ParseState Source #
initialStateFrom :: Maybe String -> [Name] -> Map String Type -> Map String [Function] -> ParseState Source #
data ParseResult a Source #
Constructors
ParseFailed Location [String] | |
ParseSucceeded a | |
ParseStalled Location FilePath (String -> ParseResult a) |
Instances
parseProblem :: FilePath -> String -> ParseResult [Input Form] Source #
parseProblemFrom :: ParseState -> FilePath -> String -> ParseResult [Input Form] Source #
individual :: Type Source #
class TermLike a => FormulaLike a where Source #
Minimal complete definition
Methods
fromFormula :: Form -> a Source #
Instances
quantified :: FormulaLike a => Mode -> Map String Variable -> Parser a Source #
typeDeclaration :: Parser () Source #