ghc-7.0.4: The GHC API

TcSimplify

# Documentation

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

simplifyDefault :: ThetaType -> TcM ()Source

simplifyDeriv :: CtOrigin -> [TyVar] -> ThetaType -> TcM ThetaType Source

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

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

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