ghc-lib-0.20190402: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

TcDeriv

Synopsis

Documentation

data DerivInfo Source #

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

Constructors

DerivInfo 

Fields

mkDerivInfos :: [LTyClDecl GhcRn] -> TcM [DerivInfo] Source #

Extract `deriving` clauses of proper data type (skips data families)