witness-0.3.0.1: values that witness types

Safe HaskellNone
LanguageHaskell98

Data.Witness

Synopsis

Documentation

module Data.Proxy

matchIs :: forall w a b. (TestEquality w, Is w a, Is w b) => Proxy w -> Maybe (a :~: b) Source

See whether two represented and witnessed types are the same.