[GHC] #3766: Parsing of lambdas is not consistent with
Haskell'98 report.
GHC
trac at galois.com
Wed Dec 16 11:32:25 EST 2009
#3766: Parsing of lambdas is not consistent with Haskell'98 report.
----------------------------------+-----------------------------------------
Reporter: lilac | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Parser) | Version: 6.10.4
Resolution: | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: GHC rejects valid program
----------------------------------+-----------------------------------------
Comment (by lilac):
Correction: the Report's grammar admits two parses: (\x -> (x :: Int)) .
id, and ((\x -> x) :: Int) . id; the "as far to the right as possible"
rule picks the former.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3766#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list