ghc-8.2.1: The GHC API

Safe HaskellNone
LanguageHaskell2010

TcInstDcls

Synopsis

Documentation

tcInstDeclsDeriv :: [DerivInfo] -> [LTyClDecl Name] -> [LDerivDecl Name] -> TcM (TcGblEnv, [InstInfo Name], HsValBinds Name) Source #

Use DerivInfo for data family instances (produced by tcInstDecls1), datatype declarations (TyClDecl), and standalone deriving declarations (DerivDecl) to check and process all derived class instances.