In our project we have a lot of TH-generated functions. It'd make sense to add generic comments to them so that they are visible in Haddock/Hoogle. At the very least, something like "This has been generated by TH." Is something like that possible?
Asked
Active
Viewed 521 times
51
-
2Looks related to [this](https://ghc.haskell.org/trac/ghc/ticket/5467) GHC ticket. – bheklilr Sep 09 '14 at 14:05
-
It must be possible because in my own project, Haddock extracts _some_ documentation from TH code. See https://github.com/mounty1/JackRose/blob/master/source/Foundation.hs and http://landcroft.com/jackrose/documentation/Foundation.html -- some of those **instance**s have come from my code, but most, not. – Michael restore Monica Cellio May 12 '15 at 05:04