Skip to content

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

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.

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information