Is it possible to generate comments to functions in Template Haskell?

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?


Solution 1:

This would be nice to have but it isn't currently possible in GHC.