Safe Haskell | Trustworthy |
---|---|
Language | Haskell2010 |
Data.Typeable.Compat
Synopsis
- module Data.Typeable
- heqT :: forall {k1} {k2} (a :: k1) (b :: k2). (Typeable a, Typeable b) => Maybe (a :~~: b)
- decT :: forall {k} (a :: k) (b :: k). (Typeable a, Typeable b) => Either ((a :~: b) -> Void) (a :~: b)
- hdecT :: forall {k1} {k2} (a :: k1) (b :: k2). (Typeable a, Typeable b) => Either ((a :~~: b) -> Void) (a :~~: b)
Documentation
module Data.Typeable
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