TcClassDcl

ghc-7.0.4: The GHC API

TcClassDcl

# Documentation

tcClassSigs :: Name -> [LSig Name] -> LHsBinds Name -> TcM [TcMethInfo]

tcClassDecl2 :: LTyClDecl Name -> TcM (LHsBinds Id)

findMethodBind :: Name -> LHsBinds Name -> Maybe (LHsBind Name)

instantiateMethod :: Class -> Id -> [TcType] -> TcType

tcInstanceMethodBody :: SkolemInfo -> [TcTyVar] -> [EvVar] -> Id -> Id -> SigFun -> TcSpecPrags -> LHsBind Name -> TcM (LHsBind Id)

mkGenericDefMethBind :: Class -> [Type] -> Id -> TcM (LHsBind Name)

getGenericInstances :: [LTyClDecl Name] -> TcM [InstInfo Name]

tcAddDeclCtxt :: TyClDecl Name -> TcM a -> TcM a

badMethodErr :: Outputable a => a -> Name -> SDoc

badATErr :: Class -> Name -> SDoc

omittedATWarn :: Name -> SDoc