Copyright | (c) Sirui Lu 2021-2023 |
---|---|
License | BSD-3-Clause (see the LICENSE file) |
Maintainer | siruilu@cs.washington.edu |
Stability | Experimental |
Portability | GHC only |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data ModelValue where Source #
ModelValue :: forall v. (Show v, Eq v, Hashable v) => TypeRep v -> v -> ModelValue |
Instances
Show ModelValue Source # | |
Defined in Grisette.IR.SymPrim.Data.Prim.ModelValue showsPrec :: Int -> ModelValue -> ShowS # show :: ModelValue -> String # showList :: [ModelValue] -> ShowS # | |
Eq ModelValue Source # | |
Defined in Grisette.IR.SymPrim.Data.Prim.ModelValue (==) :: ModelValue -> ModelValue -> Bool # (/=) :: ModelValue -> ModelValue -> Bool # | |
Hashable ModelValue Source # | |
Defined in Grisette.IR.SymPrim.Data.Prim.ModelValue hashWithSalt :: Int -> ModelValue -> Int # hash :: ModelValue -> Int # |
toModelValue :: forall a. (Show a, Eq a, Hashable a, Typeable a) => a -> ModelValue Source #
unsafeFromModelValue :: forall a. Typeable a => ModelValue -> a Source #