[Hugs] #39: Incorrect parsing of lambda expressions

Hugs trac at galois.com
Tue Oct 10 20:19:55 EDT 2006


#39: Incorrect parsing of lambda expressions
-----------------------------+----------------------------------------------
 Reporter:  Ørjan Johansen  |       Owner:  nobody
     Type:  defect           |      Status:  new   
 Priority:  major            |   Milestone:        
Component:  parsing          |     Version:  200609
 Keywords:                   |  
-----------------------------+----------------------------------------------
Hugs doesn't seem to allow lambda expressions everywhere it should.
 Example:

 Hugs> let f l = flip map l \a -> a+1 in f [1..10]
 ERROR - Syntax error in expression (unexpected backslash (lambda))

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