[GHC] #2530: deriving Show adds extra parens for constructor
with record syntax
GHC
trac at galois.com
Mon Nov 16 14:35:58 EST 2009
#2530: deriving Show adds extra parens for constructor with record syntax
---------------------------+------------------------------------------------
Reporter: spl | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.12 branch
Component: Compiler | Version: 6.8.3
Resolution: | Keywords:
Difficulty: Unknown | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Changes (by spl):
* failure: => None/Unknown
* os: MacOS X => Unknown/Multiple
* architecture: x86 => Unknown/Multiple
Comment:
In the spirit of BugSweep, this bug should probably be closed easily. The
two options proposed are:
1. Do nothing. This suits SPJ's style.
1. Change by removing parentheses. This agrees with Hugs and NM.
I think it would be nice to do 2, but I don't feel that strongly about it.
There do not seem to be many interested parties in this issue, and it is
quite minor. Perhaps the default action should be to do nothing
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2530#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list