#1102: Lambda unicode character lex
----------------------------------+-----------------------------------------
    Reporter:  humasect           |       Owner:                                
        Type:  bug                |      Status:  new                           
    Priority:  high               |   Milestone:  6.6.1                         
   Component:  Compiler (Parser)  |     Version:  6.6                           
    Severity:  major              |    Keywords:  lambda unicode lexical parse ?
  Difficulty:  Easy (1 hr)        |    Testcase:                                
Architecture:  Unknown            |          Os:  MacOS X                       
----------------------------------+-----------------------------------------
abd ∷ Num a ⇒ a → a
 abd a = a

 (⋴) a b = a ++ b
 test2 x = map (λx → x ⋴ "abc")         -- line 17

 Test.hs:17:18: parse error on input `?'

 -----

 All of these special characters are unicode, and work great, except the
 lambda. Any unicode character put here gives this error.
 http://hackage.haskell.org/trac/haskell-prime/wiki/UnicodeInHaskellSource
 -- claims otherwise.

-- 
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/1102>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to