ghc incorrectly accepts the Kannada TTHA character at the beginning of an identifier.
The code at http://hub.darcs.net/lelf/acme-lookofdisapproval/browse/Acme/LookOfDisapproval.lhs is accepted by ghc, but technically, the leading letter of the funny identifier (Kannada TTHA) is neither lowercase, uppercase, nor titlecase. It can be accepted in any position of an identifier except the first, where Haskell requires the character to be either upper/title-case (conid) or lower (varid).
isLetter x && not (isUpper x) does not imply isLower(x).
Trac metadata
Trac field | Value |
---|---|
Version | 7.6.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |