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

GHC trac at galois.com
Sat Aug 23 19:45:53 EDT 2008


#2530: deriving Show adds extra parens for constructor with record syntax
----------------------+-----------------------------------------------------
 Reporter:  spl       |          Owner:         
     Type:  bug       |         Status:  new    
 Priority:  normal    |      Milestone:         
Component:  Compiler  |        Version:  6.8.3  
 Severity:  normal    |     Resolution:         
 Keywords:            |     Difficulty:  Unknown
 Testcase:            |   Architecture:  x86    
       Os:  MacOS X   |  
----------------------+-----------------------------------------------------
Comment (by igloo):

 I agree with Simon (and I think it's a bug in the language that you don't
 need parens there).

 I also agree with Neil, that we should have consistency between
 implementations, and that the report should say what the output should be.

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


More information about the Glasgow-haskell-bugs mailing list