Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
This module implements the top-level API for interfacing with Fixpoint In particular it exports the functions that solve constraints supplied either as .fq files or as FInfo.
Synopsis
- solve :: (PPrint a, NFData a, Fixpoint a, Show a, Loc a) => Solver a
- type Solver a = Config -> FInfo a -> IO (Result (Integer, a))
- solveFQ :: Config -> IO ExitCode
- resultExit :: FixResult a -> ExitCode
- resultExitCode :: (Fixpoint a, NFData a, ToJSON a) => Config -> Result a -> IO ExitCode
- parseFInfo :: [FilePath] -> IO (FInfo a)
- simplifyFInfo :: (NFData a, Fixpoint a, Show a, Loc a) => Config -> FInfo a -> IO (SInfo a)
Invoke Solver on an FInfo
solve :: (PPrint a, NFData a, Fixpoint a, Show a, Loc a) => Solver a Source #
Solve FInfo system of horn-clause constraints -----------------------------
type Solver a = Config -> FInfo a -> IO (Result (Integer, a)) Source #
Top level Solvers ----------------------------------------------------
Invoke Solver on a .fq file
solveFQ :: Config -> IO ExitCode Source #
Solve an .fq file ----------------------------------------------------
Function to determine outcome
resultExit :: FixResult a -> ExitCode Source #
Parse Qualifiers from File
parseFInfo :: [FilePath] -> IO (FInfo a) Source #
Parse External Qualifiers -------------------------------------------------