Expands type synonyms in Template Haskell ASTs

Version on this page:
LTS Haskell 15.7:
Stackage Nightly 2020-04-05:
Latest on Hackage:

See all snapshots th-expand-syns appears in

BSD-3-Clause licensed by Daniel Schüssler
Maintained by [email protected]

Module documentation for

This version can be pinned in stack with:[email protected]:2be632a9c6601566f7ba576ccf25cd41a6563975358644b78ae0fb44fc8a8485,1223

Expands type synonyms in Template Haskell ASTs.


  • Support GHC 8.8 / template-haskell-2.15 (Thanks to Ryan Scott)
  • Support GHC 8.6 / template-haskell-2.14 (Thanks to Chaitanya Koparkar)

  • Made SynonymExpansionSettings an instance of Semigroup (fixes build with GHC 8.4.1 alpha).

  • Added support for GHC 8.2.1 / template-haskell-2.12 (Thanks to Ryan Scott)

  • Eliminated warnings about unrecognized results of ‘reify’.

  • Added a setting for suppressing warnings about type families.

  • Fixed build with GHC 8 / template-haskell-2.11 (Thanks to Christiaan Baaij)

    Note: substInCon doesn’t support GADT constructors with GHC 8 in this version

  • Fixed build with current (commit 029a296a770addbd096bbfd6de0936327ee620d4) GHC 7.10 (Thanks to David Fox)

  • Fixed build with GHC 7.10.1-rc2 / template-haskell-2.10 (Thanks to Gabor Greif)
Used by 1 package in nightly-2020-03-25(full list with versions):