Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
class Equatable a where Source #
Test two as on equality as SMT-Expression.
x <- var @RealType y <- var assert $ y === x && not (y /== x)
Nothing
(===) :: a -> a -> Expr BoolSort infix 4 Source #
Test whether two values are equal in the SMT-Problem.
(/==) :: a -> a -> Expr BoolSort infix 4 Source #
Test whether two values are not equal in the SMT-Problem.
Instances
class GEquatable f where Source #
Instances
GEquatable (U1 :: k -> Type) Source # | |
GEquatable (V1 :: k -> Type) Source # | |
(GEquatable f, GEquatable g) => GEquatable (f :*: g :: k -> Type) Source # | |
(GEquatable f, GEquatable g) => GEquatable (f :+: g :: k -> Type) Source # | |
Equatable a => GEquatable (K1 i a :: k -> Type) Source # | |
GEquatable f => GEquatable (M1 i c f :: k -> Type) Source # | |