#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 Ørjan Johansen): What, you are right, the argument of a function is an aexp, while lambdas are exp^10^s. It just seemed so natural that I assumed it was allowed: for example, without it continuation passing style gets more awkward. Well, now that I understand why it happens, I see that I can get around it with a $. -- Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/39> Hugs <http://www.haskell.org/hugs/> Hugs 98, an interpreter for Haskell