ghc-lib-0.20201201: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.Tc.Solver.Canonical

Documentation

unifyDerived :: CtLoc -> Role -> Pair TcType -> TcS () Source #

makeSuperClasses :: [Ct] -> TcS [Ct] Source #

maybeSym :: SwapFlag -> TcCoercion -> TcCoercion Source #

data StopOrContinue a Source #

Constructors

ContinueWith a 
Stop CtEvidence SDoc 

Instances

Instances details
Functor StopOrContinue Source # 
Instance details

Defined in GHC.Tc.Solver.Canonical

Methods

fmap :: (a -> b) -> StopOrContinue a -> StopOrContinue b #

(<$) :: a -> StopOrContinue b -> StopOrContinue a #

Outputable a => Outputable (StopOrContinue a) Source # 
Instance details

Defined in GHC.Tc.Solver.Canonical

Methods

ppr :: StopOrContinue a -> SDoc

stopWith :: CtEvidence -> String -> TcS (StopOrContinue a) Source #

solveCallStack :: CtEvidence -> EvCallStack -> TcS () Source #