TcSimplify

ghc-7.8.2: The GHC API

Safe Haskell | None
Language | Haskell98

TcSimplify

# Documentation

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

quantifyPred :: TyVarSet -> PredType -> Bool Source

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

simplifyDefault :: ThetaType -> TcM () Source

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

simplifyTop :: WantedConstraints -> TcM (Bag EvBind) Source

simplifyInteractive :: WantedConstraints -> TcM (Bag EvBind) Source

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