GHC.Tc.Solver.Canonical

ghc-9.2.6: The GHC API

Safe Haskell | Safe-Inferred
Language | Haskell2010

GHC.Tc.Solver.Canonical

# Documentation

canonicalize :: Ct -> TcS (StopOrContinue Ct) Source #

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

makeSuperClasses :: [Ct] -> TcS [Ct] 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 Source # (<$) :: a -> StopOrContinue b -> StopOrContinue a Source #
Outputable a => Outputable (StopOrContinue a) Source # |
Instance details Defined in GHC.Tc.Solver.Canonical Methods ppr :: StopOrContinue a -> SDoc Source #

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

continueWith :: a -> TcS (StopOrContinue a) Source #

andWhenContinue :: TcS (StopOrContinue a) -> (a -> TcS (StopOrContinue b)) -> TcS (StopOrContinue b) infixr 0 Source #

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