Skip to content

Lambda unicode character lex

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.

Trac metadata
Trac field Value
Version 6.6
Type Bug
TypeOfFailure OtherFailure
Priority high
Resolution Unresolved
Component Compiler (Parser)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system MacOS X
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information