diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-01-16 16:11:00 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-01-16 16:11:00 +0000 |
commit | 866316bd1fd56d4f122e550b14cc3c0d894e28ba (patch) | |
tree | 16a8a5f2b26665fee11f8af14b909ff04eb7a579 /compiler | |
parent | 79d21c0da06f7490e3e0667b94857e7a5a09ee11 (diff) | |
download | haskell-866316bd1fd56d4f122e550b14cc3c0d894e28ba.tar.gz |
Remove special lambda unicode character, it didn't work anyway
Since lambda is a lower-case letter, it's debatable whether we want to
steal it to mean lambda in Haskell source. However if we did, then we
would probably want to make it a "special" symbol, not just a reserved
symbol, otherwise writing \x->... (using unicode characters of course)
wouldn't work, because \x would be treated as a single identifier,
you'd need a space.
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/parser/Lexer.x | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/parser/Lexer.x b/compiler/parser/Lexer.x index 4238938f69..0526b1ec90 100644 --- a/compiler/parser/Lexer.x +++ b/compiler/parser/Lexer.x @@ -646,7 +646,6 @@ reservedSymsFM = listToUFM $ ,(">>-", ITRarrowtail, bit arrowsBit) #if __GLASGOW_HASKELL__ >= 605 - ,("λ", ITlam, bit glaExtsBit) ,("∷", ITdcolon, bit glaExtsBit) ,("⇒", ITdarrow, bit glaExtsBit) ,("∀", ITforall, bit glaExtsBit) |