[GHC] #11079: Add ability to access and generate haddock-style comments through template haskell

GHC ghc-devs at haskell.org
Wed Nov 11 15:49:06 UTC 2015


#11079: Add ability to access and generate haddock-style comments through template
haskell
-------------------------------------+-------------------------------------
           Reporter:  ekmett         |             Owner:
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:
          Component:  Template       |           Version:  7.10.2
  Haskell                            |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 We've had a number of suggestions throughout the last few years that we
 either by default or by option permit the copying of comments from the
 original field to the lenses we generates via `template-haskell`.

 There isn't a way to do this currently.

 Ideally we'd be able to access the haddocks associated with a name and
 generate comments as a form of declaration suitable for the top level or
 in a class definition.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11079>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list