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

#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

#11079: Add ability to access and generate haddock-style comments through template haskell -------------------------------------+------------------------------------- Reporter: ekmett | Owner: Type: feature request | Status: closed Priority: normal | Milestone: Component: Template Haskell | Version: 7.10.2 Resolution: duplicate | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #5467 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by ekmett): * status: new => closed * resolution: => duplicate * related: => #5467 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11079#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC