Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
This module provides debugging capabilites for the problem definition and communication with the external solver.
Synopsis
- data Debugger s = Debugger {
- debugState :: s -> IO ()
- debugOption :: Builder -> IO ()
- debugLogic :: Builder -> IO ()
- debugVar :: Builder -> IO ()
- debugAssert :: Builder -> IO ()
- debugPush :: Builder -> IO ()
- debugPop :: Builder -> IO ()
- debugCheckSat :: Builder -> IO ()
- debugGetModel :: Builder -> IO ()
- debugGetValue :: Builder -> IO ()
- debugMinimize :: Builder -> IO ()
- debugMaximize :: Builder -> IO ()
- debugAssertSoft :: Builder -> IO ()
- debugResultResponse :: ByteString -> IO ()
- debugModelResponse :: ByteString -> IO ()
- class StateDebugger s where
- statistically :: Debugger s
- silently :: Debugger s
- noisy :: Debugger s
- verbosely :: Debugger s
- optionish :: Debugger s
- logicish :: Debugger s
- varish :: Debugger s
- assertionish :: Debugger s
- incrementalStackish :: Debugger s
- getValueish :: Debugger s
- responseish :: Debugger s
Type
A type holding actions for debugging states holding SMT-Problems.
Debugger | |
|
class StateDebugger s where Source #
A class that allows debugging states.
statistically :: Debugger s Source #
Debugs information about the problem like the amount of variables and assertions.
Instances
StateDebugger OMT Source # | |
Defined in Language.Hasmtlib.Type.Debugger | |
StateDebugger SMT Source # | |
Defined in Language.Hasmtlib.Type.Debugger |
Construction
Volume
verbosely :: Debugger s Source #
The verbose Debugger
.
Debugs all communication between Haskell and the external solver.
Information
assertionish :: Debugger s Source #
A Debugger
for debugging all assertions.
incrementalStackish :: Debugger s Source #
A Debugger
for debugging every push/pop-interaction with the solvers incremental stack.
getValueish :: Debugger s Source #
A Debugger
for debugging every (get-value)
call to the solver.
responseish :: Debugger s Source #
A Debugger
for debugging the entire and raw responses of a solver for the commands (check-sat)
and (get-model)
.