#1103: Japanese Unicode
-----------------------------------------------------+----------------------
 Reporter:  humasect                                 |          Owner:         
     Type:  bug                                      |         Status:  new    
 Priority:  normal                                   |      Milestone:  6.6.1  
Component:  Compiler (Parser)                        |        Version:  6.6    
 Severity:  major                                    |     Resolution:         
 Keywords:  japanese unicode lexical -fglasgow-exts  |     Difficulty:  Unknown
 Testcase:                                           |   Architecture:  Unknown
       Os:  Multiple                                 |  
-----------------------------------------------------+----------------------
Comment (by ross):

 I don't think there's any reason why these characters couldn't be treated
 as upper or lower case letters; the question is which.  We'd want to treat
 all the members of a Unicode General Category the same way, because
 special cases would be too cumbersome.  A lexical syntax based on the case
 of letters was never going to work well with caseless scripts.

 Kanji, katakana and hiragana all belong to the Letter, Other category.  If
 we treated these as lower case, your third example would work, but you'd
 have to adopt a convention of prepending capital letters (like M, C, T and
 D) to Japanese module, class, type and data constructor names.  (The same
 would apply to all the other caseless scripts too.)

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1103>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to