ANN: unicode-properties, unicode-names

Ross Paterson ross at
Tue Sep 2 06:10:21 EDT 2008

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.

More information about the Libraries mailing list