#4025: template-haskell Use named fields in Info
---------------------------------+------------------------------------------
    Reporter:  aavogt            |       Owner:                
        Type:  proposal          |      Status:  new           
    Priority:  normal            |   Component:  libraries/base
     Version:  6.12.2            |    Keywords:                
          Os:  Unknown/Multiple  |    Testcase:                
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown  
---------------------------------+------------------------------------------
 == 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.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4025>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to