ghc-corroborate-1.0.0: An flatter API for GHC typechecker plugins
Safe HaskellNone
LanguageHaskell2010

GHC.Corroborate.Shim

Synopsis

Documentation

mkFunnyEqEvidence :: String -> Type -> Type -> Type -> EvTerm Source #

Make up evidence for a fake equality constraint t1 ~~ t2 by coercing bogus evidence of type t1 ~ t2 (or its heterogeneous variant, in GHC 8.0).