Add ability to access and generate haddock-style comments through template haskell
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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.2 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Template Haskell |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | ekmett |
Operating system | |
Architecture |