Has there been any thought on adding support for module / declaration / parameter haddock comments? I'm trying to use this library to generate code that I would like to have nice haddock documentation on.
I tried my hand at implementing comments for modules at it seems as simple as filling out hsmodHaddockModHeader on HsModule, but as of 8.10 the Outputableinstance on HsDocString wraps the output in double quotes which results in invalid Haskell.
Has there been any thought on adding support for module / declaration / parameter haddock comments? I'm trying to use this library to generate code that I would like to have nice haddock documentation on.
I tried my hand at implementing comments for modules at it seems as simple as filling out
hsmodHaddockModHeader
onHsModule
, but as of 8.10 theOutputable
instance onHsDocString
wraps the output in double quotes which results in invalid Haskell.