ghc-7.0.4: The GHC API

TcClassDcl

# Documentation

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

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

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

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

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

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

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

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

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

badATErr :: Class -> Name -> SDoc Source

omittedATWarn :: Name -> SDoc Source