#2490: GHC allows sections with out parenthesis in tuples
---------------------------+------------------------------------------------
Reporter: JeremyShaw | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.3
Severity: normal | Resolution:
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
---------------------------+------------------------------------------------
Comment (by JeremyShaw):
ack. I didn't notice that the wiki formatting ate my characters on the web
page version of this bug.
To summarize, GHC accepts these:
{{{
f x = (`head x`, ())
(+ x, ())
((), + x)
((), + x, ())
}}}
But not these:
{{{
(+, ())
((), x +)
}}}
And H98 seems to indicate none of them should be accepted.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2490#comment:2>
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