base-compat-0.14.0: A compatibility layer for base
Safe HaskellTrustworthy
LanguageHaskell2010

Data.Typeable.Compat

Synopsis

Documentation

heqT :: forall {k1} {k2} (a :: k1) (b :: k2). (Typeable a, Typeable b) => Maybe (a :~~: b) #

Extract a witness of heterogeneous equality of two types

Since: base-4.18.0.0

decT :: forall a b. (Typeable a, Typeable b) => Either ((a :~: b) -> Void) (a :~: b) Source #

Decide an equality of two types

Since: 4.19.0.0

hdecT :: forall a b. (Typeable a, Typeable b) => Either ((a :~~: b) -> Void) (a :~~: b) Source #

Decide heterogeneous equality of two types.

Since: 4.19.0.0