Closed neongreen closed 7 years ago
(I know about -ddump-splices
, of course, but my function lets you dump a specific splice instead of everything in the module, which makes a big difference when you have e.g. dozens of makeLenses
in your code. Also, :set -ddump-splices
breaks haskell-mode.)
Sure, this would be a quite sensible addition to the TH.Utilities
module, a PR would be appreciated!
I often use this utility for debugging TH code or understanding libraries that use TH (persistent, lens, etc):
However, it doesn't have a home and so I end up copying it from project to project. Perhaps it could be adopted by
th-utilities
? If so, I'll make a PR.