[GHC] #11768: Need a way to attach Haddock documentation to derived instances

GHC ghc-devs at haskell.org
Thu May 12 13:39:49 UTC 2016


#11768: Need a way to attach Haddock documentation to derived instances
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.2.1
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11767            |  Differential Rev(s):  Phab:D2175
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"697143064c271c57a69e80850a768449f8bcf4ca/ghc" 6971430/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="697143064c271c57a69e80850a768449f8bcf4ca"
 Allow putting Haddocks on derived instances

 Currently, one can document top-level instance declarations, but derived
 instances (both those in `deriving` clauses and standalone `deriving`
 instances) do not enjoy the same privilege. This makes the necessary
 changes to the parser to enable attaching Haddock comments for derived
 instances.

 Updates haddock submodule.

 Fixes #11768.

 Test Plan: ./validate

 Reviewers: hvr, bgamari, austin

 Reviewed By: austin

 Subscribers: thomie, mpickering

 Differential Revision: https://phabricator.haskell.org/D2175

 GHC Trac Issues: #11768
 }}}

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


More information about the ghc-tickets mailing list