Commit 0c266d7a authored by Simon Marlow's avatar Simon Marlow
Browse files

Treat the Unicode "Letter, Other" class as lowercase letters (#1103)

This is an arbitrary choice, but it's strictly more useful than the
current situation, where these characters cannot be used in
identifiers at all.

In Haskell' we may revisit this decision (it's on my list of things to
discuss), but for now this is an improvement for those using caseless
languages.
parent addff19a
......@@ -1492,7 +1492,7 @@ alexGetChar (AI loc ofs s)
LowercaseLetter -> lower
TitlecaseLetter -> upper
ModifierLetter -> other_graphic
OtherLetter -> other_graphic
OtherLetter -> lower -- see #1103
NonSpacingMark -> other_graphic
SpacingCombiningMark -> other_graphic
EnclosingMark -> other_graphic
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment