#5467: Template Haskell: support for Haddock comments ---------------------------------+------------------------------------------ Reporter: reinerp | Owner: Type: feature request | Status: new Priority: normal | Milestone: 7.6.2 Component: Template Haskell | Version: 7.2.1 Keywords: | Os: Unknown/Multiple Architecture: Unknown/Multiple | Failure: None/Unknown Difficulty: | Testcase: Blockedby: | Blocking: Related: | ---------------------------------+------------------------------------------ Changes (by nomeata):
* cc: mail@… (added) Comment: Replying to [comment:3 JeremyShaw]: > It seems like there are (at least) two ways haddock and template-haskell could interact: here is another way: 3. explanding slices of type `Q String` in haddock comments. The main usecase would be to execute example code and have the results in the documentation, and not having to worry about it going out of sync or, a little bit more fancy, generate diagrams (as discussed at https://github.com/diagrams/diagrams-doc/issues/2#issuecomment-11433786). Maybe this is not really Template Haskell then, as you want it to run after the module is compiled, as you need to access the definitions therein, and not while, but from a user point of view it certainly looks like it. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5467#comment:10> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs