[GHC] #8822: Allow -- ^ Haddock syntax on record constructors

GHC ghc-devs at haskell.org
Mon Jun 20 09:54:59 UTC 2016


#8822: Allow -- ^ Haddock syntax on record constructors
-------------------------------------+-------------------------------------
        Reporter:  Fuuzetsu          |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.9
  (Parser)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #9770, #12050     |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by erikd):

 Found an example very close to @goldfire's example above:

 {{{
 data Command =
      -- | Run a job.
     Run
       String -- ^ Name.
       Bool -- ^ Fast.
       [String] -- ^ Run arguments.
   | -- | Stop a job.
     Stop
       Int -- ^ Job number.
 }}}

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


More information about the ghc-tickets mailing list