
2 Sep
2008
2 Sep
'08
6:10 a.m.
On Tue, Sep 02, 2008 at 02:51:45AM -0700, Ashley Yakeley wrote:
Ross Paterson wrote:
Note that Data.Char already has functions generalCategory, toUpper, toLower and toTitle, which should work on the full range.
It depends on whether libunicode is installed at the time GHC is built. You _might_ get some version of Unicode, or you might get ISO Latin-1 case folding instead.
No, it's OS-independent and doesn't use libunicode. The implementation of these four functions in cbits/WCsubst.c is generated from UnicodeData.txt.