Safe Haskell | None |
---|---|
Language | Haskell2010 |
- tcDeriving :: [DerivInfo] -> [LDerivDecl Name] -> TcM (TcGblEnv, Bag (InstInfo Name), HsValBinds Name)
- data DerivInfo = DerivInfo {}
- mkDerivInfos :: [TyClGroup Name] -> TcM [DerivInfo]
Documentation
tcDeriving :: [DerivInfo] -> [LDerivDecl Name] -> TcM (TcGblEnv, Bag (InstInfo Name), HsValBinds Name) Source #
Stuff needed to process a `deriving` clause