[GHC] #5467: Template Haskell: support for Haddock comments
GHC
cvs-ghc at haskell.org
Mon Dec 17 10:47:46 CET 2012
#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
More information about the Glasgow-haskell-bugs
mailing list