Safe Haskell | None |
---|
Documentation
tcHsSigType :: UserTypeCtxt -> LHsType Name -> TcM TypeSource
tcHsSigTypeNC :: UserTypeCtxt -> LHsType Name -> TcM TypeSource
tcHsInstHead :: UserTypeCtxt -> LHsType Name -> TcM ([TyVar], ThetaType, Class, [Type])Source
data UserTypeCtxt Source
kcTyClTyVars :: Name -> LHsTyVarBndrs Name -> (TcKind -> TcM a) -> TcM aSource
tcTyClTyVars :: Name -> LHsTyVarBndrs Name -> ([TyVar] -> Kind -> TcM a) -> TcM aSource
tcDataKindSig :: Kind -> TcM [TyVar]Source
kcHsTyVarBndrs :: Bool -> LHsTyVarBndrs Name -> ([TcKind] -> TcM r) -> TcM rSource
tcHsTyVarBndrs :: LHsTyVarBndrs Name -> ([TyVar] -> TcM r) -> TcM rSource
tcHsContext :: LHsContext Name -> TcM [PredType]Source
tcInferApps :: Outputable a => a -> TcKind -> [LHsType Name] -> TcM ([TcType], TcKind)Source
checkExpectedKind :: Outputable a => a -> TcKind -> ExpKind -> TcM ()Source
tcHsPatSigType :: UserTypeCtxt -> HsWithBndrs (LHsType Name) -> TcM (Type, [(Name, TcTyVar)])Source
tcPatSig :: UserTypeCtxt -> HsWithBndrs (LHsType Name) -> TcSigmaType -> TcM (TcType, [(Name, TcTyVar)], HsWrapper)Source