Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
class SymbolSetOps symbolSet typedSymbol =>
SymbolSetRep rep symbolSet (typedSymbol :: Type -> Type)grisette Grisette.Internal.Core.Data.Class.ModelOps A type class for building a symbolic constant set manually from a symbolic constant set representation
>>> buildSymbolSet ("a" :: TypedAnySymbol Bool, "b" :: TypedAnySymbol Bool) :: AnySymbolSet SymbolSet {a :: Bool, b :: Bool}buildSymbolSet :: SymbolSetRep rep symbolSet typedSymbol => rep -> symbolSetgrisette Grisette.Internal.Core.Data.Class.ModelOps Build a symbolic constant set
differenceSet :: SymbolSetOps symbolSet typedSymbol => symbolSet -> symbolSet -> symbolSetgrisette Grisette.Internal.Core.Data.Class.ModelOps Set difference
emptySet :: SymbolSetOps symbolSet typedSymbol => symbolSetgrisette Grisette.Internal.Core.Data.Class.ModelOps Construct an empty set
intersectionSet :: SymbolSetOps symbolSet typedSymbol => symbolSet -> symbolSet -> symbolSetgrisette Grisette.Internal.Core.Data.Class.ModelOps Set intersection
isEmptySet :: SymbolSetOps symbolSet typedSymbol => symbolSet -> Boolgrisette Grisette.Internal.Core.Data.Class.ModelOps Check if the set is empty
unionSet :: SymbolSetOps symbolSet typedSymbol => symbolSet -> symbolSet -> symbolSetgrisette Grisette.Internal.Core.Data.Class.ModelOps Set union
SolverResetAssertions :: SolverCommandgrisette Grisette.Internal.Core.Data.Class.Solver No documentation available.
monadicSolverResetAssertions :: MonadicSolver m => m ()grisette Grisette.Internal.Core.Data.Class.Solver No documentation available.
solverResetAssertions :: Solver handle => handle -> IO (Either SolvingFailure ())grisette Grisette.Internal.Core.Data.Class.Solver Reset all assertions in the solver. The solver keeps all the assertions used in the previous commands:
>>> solver <- newSolver z3 >>> solverSolve solver "a" Right (Model {a -> true :: Bool}) >>> solverSolve solver $ symNot "a" Left UnsatYou can clear the assertions using solverResetAssertions:>>> solverResetAssertions solver Right () >>> solverSolve solver $ symNot "a" Right (Model {a -> false :: Bool})