template-haskell Use named fields in Info
Problem
The meaning of the fields for constructors of Language.Haskell.TH.Syntax.Info must be guessed.
See #1576 (closed)
Proposed Change
Naming the fields for each constructor helps reduce this confusion. Compare documentations:
New
http://code.haskell.org/~aavogt/libraries/template-haskell/Language-Haskell-TH-Syntax.html#t%3AInfo
Old
Issues
The Show instance changes (no Read).
Namespace conflicts.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.12.2 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |