ghc-7.8.4: The GHC API

Safe Haskell | None
Language | Haskell98

TcSimplify

# Documentation

simplifyInfer :: Bool -> Bool -> [(Name, TcTauType)] -> WantedConstraints -> TcM ([TcTyVar], [EvVar], Bool, TcEvBinds)

quantifyPred :: TyVarSet -> PredType -> Bool

simplifyAmbiguityCheck :: Type -> WantedConstraints -> TcM ()

simplifyDefault :: ThetaType -> TcM ()

simplifyRule :: RuleName -> WantedConstraints -> WantedConstraints -> TcM ([EvVar], WantedConstraints)

simplifyTop :: WantedConstraints -> TcM (Bag EvBind)

simplifyInteractive :: WantedConstraints -> TcM (Bag EvBind)

solveWantedsTcM :: WantedConstraints -> TcM (WantedConstraints, Bag EvBind)