#5469: Reorganisation of exports in template-haskell library
---------------------------------+------------------------------------------
Reporter: reinerp | Owner:
Type: task | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 7.2.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by simonpj):
Yes, I think the same for `TH.Lib`.
I'm no expert about Haddock but I thought it was possible to put a data
type (and its supporting notes) in one `TH.Syntax` and export it from `TH`
with all its notes etc. Example, at
http://www.haskell.org/ghc/docs/latest/html/libraries/template-
haskell-2.6.0.0/Language-Haskell-TH.html we see `data Name` with its
accompanying comments. If you can't do this for notes, so they are forced
to be mis-placed, maybe make a Haddock feature request?
While looking at the above page I see that the comments on `data Name`
mention the constructors, which are abstract. Those comments should
presumably change to be implementation notes!
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5469#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs