grisette-0.7.0.0: Symbolic evaluation as a library
Copyright(c) Sirui Lu 2021-2023
LicenseBSD-3-Clause (see the LICENSE file)
Maintainersiruilu@cs.washington.edu
StabilityExperimental
PortabilityGHC only
Safe HaskellSafe-Inferred
LanguageHaskell2010

Grisette.Internal.Backend.SymBiMap

Description

 
Synopsis

Documentation

emptySymBiMap :: SymBiMap Source #

An empty bidirectional map.

sizeBiMap :: SymBiMap -> Int Source #

The size of the bidirectional map.

addBiMap :: HasCallStack => SomeTerm -> Dynamic -> String -> SomeTypedSymbol -> SymBiMap -> SymBiMap Source #

Add a new entry to the bidirectional map.

addBiMapIntermediate :: HasCallStack => SomeTerm -> Dynamic -> SymBiMap -> SymBiMap Source #

Add a new entry to the bidirectional map for intermediate values.

findStringToSymbol :: String -> SymBiMap -> Maybe SomeTypedSymbol Source #

Find a symbolic Grisette term from a string.

lookupTerm :: HasCallStack => SomeTerm -> SymBiMap -> Maybe Dynamic Source #

Look up an sbv value with a symbolic Grisette term in the bidirectional map.