Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- newtype ProcessSolver = ProcessSolver {}
- solver :: (RenderSeq s, MonadIO m) => ProcessSolver -> Solver s m
- debug :: (RenderSeq s, Default (Debugger s), MonadIO m) => ProcessSolver -> Solver s m
- interactiveSolver :: MonadIO m => ProcessSolver -> m (Solver, Handle)
- data Debugger s = Debugger {
- debugState :: s -> IO ()
- debugProblem :: Seq Builder -> IO ()
- debugResultResponse :: ByteString -> IO ()
- debugModelResponse :: ByteString -> IO ()
- processSolver :: (RenderSeq s, MonadIO m) => Config -> Maybe (Debugger s) -> Solver s m
Documentation
newtype ProcessSolver Source #
A newtype-wrapper for Config
which configures a solver via external process.
solver :: (RenderSeq s, MonadIO m) => ProcessSolver -> Solver s m Source #
Creates a Solver
from a ProcessSolver
debug :: (RenderSeq s, Default (Debugger s), MonadIO m) => ProcessSolver -> Solver s m Source #
Creates a debugging Solver
from a ProcessSolver
interactiveSolver :: MonadIO m => ProcessSolver -> m (Solver, Handle) Source #
Creates an interactive session with a solver by creating and returning an alive process-handle Handle
.
A type holding actions for debugging states.
Debugger | |
|