Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
grisette Grisette.Internal.Core.Data.Class.ModelOps The operations on symbolic constant sets Note that symbolic constants with different types are considered different.
>>> let aBool = "a" :: TypedAnySymbol Bool >>> let bBool = "b" :: TypedAnySymbol Bool >>> let cBool = "c" :: TypedAnySymbol Bool >>> let aInteger = "a" :: TypedAnySymbol Integer >>> emptySet :: AnySymbolSet SymbolSet {} >>> containsSymbol aBool (buildSymbolSet aBool :: AnySymbolSet) True >>> containsSymbol bBool (buildSymbolSet aBool :: AnySymbolSet) False >>> insertSymbol aBool (buildSymbolSet aBool :: AnySymbolSet) SymbolSet {a :: Bool} >>> insertSymbol aInteger (buildSymbolSet aBool :: AnySymbolSet) SymbolSet {a :: Bool, a :: Integer} >>> let abSet = buildSymbolSet (aBool, bBool) :: AnySymbolSet >>> let acSet = buildSymbolSet (aBool, cBool) :: AnySymbolSet >>> intersectionSet abSet acSet SymbolSet {a :: Bool} >>> unionSet abSet acSet SymbolSet {a :: Bool, b :: Bool, c :: Bool} >>> differenceSet abSet acSet SymbolSet {b :: Bool} 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.