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

Grisette.Internal.SymPrim.Prim.Internal.Utils

Description

 
Synopsis

Documentation

pattern Dyn :: (Typeable a, Typeable b) => a -> b Source #

Pattern synonym for dynamic type casting.

cmpHetero :: forall a b. (Typeable a, Typeable b) => (a -> a -> Bool) -> a -> b -> Bool Source #

Compare two values of different types.

eqHetero :: forall a b. (Typeable a, Typeable b, Eq a) => a -> b -> Bool Source #

Compare two values of different types for equality.

cmpHeteroRep :: forall a b. TypeRep a -> TypeRep b -> (a -> a -> Bool) -> a -> b -> Bool Source #

Compare two values of different types, resolve the type equality using the type representation.

eqHeteroRep :: forall a b. Eq a => TypeRep a -> TypeRep b -> a -> b -> Bool Source #

Compare two values of different types for equality, resolve the type equality using the type representation.

eqTypeRepBool :: forall ka kb (a :: ka) (b :: kb). TypeRep a -> TypeRep b -> Bool Source #

Compare two type representations for equality.