[GHC] #2530: deriving Show adds extra parens for constructor with record syntax

GHC cvs-ghc at haskell.org
Sun Feb 3 04:07:17 CET 2013


#2530: deriving Show adds extra parens for constructor with record syntax
---------------------------------+------------------------------------------
    Reporter:  spl               |       Owner:                  
        Type:  bug               |      Status:  new             
    Priority:  lowest            |   Milestone:  7.6.2           
   Component:  Compiler          |     Version:  6.8.3           
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------

Comment(by morabbin):

 I don't think that the fact that [http://hackage.haskell.org/trac/haskell-
 prime/wiki/StricterLabelledFieldSyntax the GHC variant] wasn't voted
 suprem justifies making what is really just a cosmetic change. The case
 for change is pretty weak, since the GHC variant (with parens) is not at
 all ambiguous (clarity is next to godliness, etc,), and is semantically
 equivalent to the Hugs/Haskell 98 variant. Close as wontfix, I say!

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2530#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list