TcCanonical

ghc-7.0.4: The GHC API

TcCanonical

# Documentation

mkCanonical :: CtFlavor -> EvVar -> TcS CanonicalCts

mkCanonicals :: CtFlavor -> [EvVar] -> TcS CanonicalCts

mkCanonicalFEV :: FlavoredEvVar -> TcS CanonicalCts

canWanteds :: [WantedEvVar] -> TcS CanonicalCts

canGivens :: GivenLoc -> [EvVar] -> TcS CanonicalCts

canOccursCheck :: CtFlavor -> TcTyVar -> Xi -> TcS (Maybe Xi)

canEq :: CtFlavor -> EvVar -> Type -> Type -> TcS CanonicalCts

rewriteWithFunDeps :: [Equation] -> [Xi] -> CtFlavor -> TcS (Maybe ([Xi], [Coercion], CanonicalCts))