ghc-8.6.5: The GHC API

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)