Ticket #4025 (closed proposal: wontfix)
template-haskell Use named fields in Info
| Reported by: | aavogt | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Not GHC |
| Component: | libraries (other) | Version: | 6.12.2 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
Problem
The meaning of the fields for constructors of Language.Haskell.TH.Syntax.Info must be guessed.
See #1576
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

