Ticket #4025 (closed proposal: wontfix)

Opened 3 years ago

Last modified 2 years ago

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

http://www.haskell.org/ghc/docs/latest/html/libraries/template-haskell-2.4.0.1/Language-Haskell-TH-Syntax.html#t%3AInfo

Issues

The Show instance changes (no Read).

Namespace conflicts.

Attachments

document-info-with-named-fields_.dpatch Download (3.7 KB) - added by aavogt 3 years ago.

Change History

Changed 3 years ago by aavogt

Changed 3 years ago by igloo

  • milestone set to Not GHC

Changed 3 years ago by ross

  • component changed from libraries/base to libraries (other)

Changed 2 years ago by igloo

  • status changed from new to closed
  • resolution set to wontfix

This looks like an abandoned proposal. If that's not the case, please re-open and give a link to the discussion thread, a summary of the discussion, and the consensus decision, as described on the  process page.

Changed 2 years ago by aavogt

There was no discussion, but I forgot a due-date:  http://article.gmane.org/gmane.comp.lang.haskell.libraries/13017

I'm not sure the changes are helpful anymore, which is probably why I didn't follow up.

Note: See TracTickets for help on using tickets.