Section 9 of the Library says that ``Function toUpper converts a letter to the corresponding upper-case letter, leaving any other character unchanged. Any Unicode letter which has an upper case equivalent is changed'' I would therefore expect map toUpper na\239fve to give NA\207VE (hopefully I've got the right values for the characters I intend). Hugs gives: Prelude> toUpper (chr 239) '\239' So I guess it doesn't work in Hugs. But it does work in ghc: Char> toUpper (chr 239) '\207' Char> Maybe if this one is going to be fixed, toUpper could be put in the correct library as well? Dominic. ------------------------------------------------------------------------------------------------- 21st century air travel http://www.britishairways.com
participants (1)
-
Steinitz, Dominic J