ghc-9.13: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Tc.Solver.Solve

Synopsis

Documentation

solveCompletelyIfRequired :: Ct -> TcS (StopOrContinue a) -> TcS (StopOrContinue a) Source #

If the mode is TcSSpecPrag, attempt to fully solve the Wanted constraints that arise from solving Ct.

If not in TcSSpecPrag mode, simply run thing_inside.

See Note [TcSSpecPrag] in GHC.Tc.Solver.Monad.