hasmtlib-2.7.2: A monad for interfacing with external SMT solvers
Safe HaskellSafe-Inferred
LanguageGHC2021

Language.Hasmtlib

Synopsis

Type

Expr

Containers

SMT

OMT

Pipe

Class

Solver

Type

Concrete solvers

Internal

Sharing

data SharingMode Source #

Mode used for sharing.

Constructors

None

Common expressions are not shared at all

StableNames

Expressions that resolve to the same StableName are shared

Instances

Instances details
Show SharingMode Source # 
Instance details

Defined in Language.Hasmtlib.Internal.Sharing

Default SharingMode Source # 
Instance details

Defined in Language.Hasmtlib.Internal.Sharing

Methods

def :: SharingMode #

setSharingMode :: (Sharing s, MonadState s m) => SharingMode -> m () Source #

Sets the mode used for sharing common expressions. Defaults to StableNames.