BSD-3-Clause licensed by Daniel Schüssler

Module documentation for

This version can be pinned in stack with:th-expand-syns-,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-09-24(full list with versions):