[Hugs] #39: Incorrect parsing of lambda expressions

Hugs trac at galois.com
Tue Oct 10 20:22:28 EDT 2006


#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?

-- 
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/39>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell


More information about the Hugs-Bugs mailing list