ghc-lib-0.20201101: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.Tc.Deriv

Description

Handles deriving clauses on data declarations.

Synopsis

Documentation

tcDeriving :: [DerivInfo] -> [LDerivDecl GhcRn] -> TcM (TcGblEnv, Bag (InstInfo GhcRn), HsValBinds GhcRn) Source #

data DerivInfo Source #

Stuff needed to process a datatype's `deriving` clauses

Constructors

DerivInfo 

Fields