Re: [Hugs] #39: Incorrect parsing of lambda expressions
Sigbjorn Finne <[email protected]> Tue, 10 Oct 2006 17:34:04 -0700
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <[email protected]> |
[I couldn't resist...sorry ;-) ] The bug reporter may feel the Haskell grammar "succs" here, so perhaps he'd be content rephrasing it as let f l = flip map l succ in f [1..10] instead? --sigbjorn Hugs wrote: > #39: Incorrect parsing of lambda expressions > ------------------------------+--------------------------------------------- > Reporter: Ørjan Johansen | Owner: nobody > Type: defect | Status: new > Priority: major | Milestone: > Component: parsing | Version: 200609 > Resolution: | Keywords: > ------------------------------+--------------------------------------------- > Comment (by Neil Mitchell): > > Using GHCi > > Prelude> let f l = flip map l \a -> a+1 in f [1..10] > <interactive>:1:21: parse error on input `\' > > Can you point to a Haskell thingy that gets this "right", or a section of > the report that shows the above being correct? > >