th-pprint

Simplify and render Template Haskell

Latest on Hackage:0.2.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Brian McKenna
Maintained by [email protected]

Simplify and render Template Haskell. Functions to dump TH code for easy inspection and/or copy-pasting the result into your Haskell files.

For example:

putStrLn $(simplifiedTH =<< makePrisms ''Maybe)