projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f1d0a1
)
[project @ 2006-01-11 12:17:41 by simonmar]
author
simonmar
<unknown>
Wed, 11 Jan 2006 12:17:41 +0000
(12:17 +0000)
committer
simonmar
<unknown>
Wed, 11 Jan 2006 12:17:41 +0000
(12:17 +0000)
understand Unicode lambda as a synonym for \
ghc/compiler/parser/Lexer.x
patch
|
blob
|
history
diff --git
a/ghc/compiler/parser/Lexer.x
b/ghc/compiler/parser/Lexer.x
index
84e5a1a
..
27b6e2d
100644
(file)
--- a/
ghc/compiler/parser/Lexer.x
+++ b/
ghc/compiler/parser/Lexer.x
@@
-559,6
+559,7
@@
reservedSymsFM = listToUFM $
,(">>-", ITRarrowtail, bit arrowsBit)
#if __GLASGOW_HASKELL__ >= 605
+ ,("λ", ITlam, 0)
,("∀", ITforall, bit tvBit)
,("→", ITrarrow, 0)
,("←", ITlarrow, 0)