derive-2.2.0: A program and library to derive instances for data types

Language.Haskell.TH.ExpandSynonym

Description

Expand type synonyms in data declarations.

This is needed for some type based derivations.

Synopsis

Documentation

expandData :: DataDef -> Q DataDefSource

Expand type synonyms in a data declaration