[Haskell-cafe] Valid Haskell characters

Maurí­cio briqueabraque at yahoo.com
Mon Aug 25 21:15:35 EDT 2008


Hi,

In Haskell reference, I see the
following definitions:

uniWhite -> any Unicode character defined
as whitespace;

uniSmall -> any Unicode lowercase letter;

uniLarge -> any uppercase or titlecase
Unicode letter;

uniSymbol -> any Unicode symbol or
punctuation.

Where do I get lists for those
characters? My first attempt was to
check:

http://unicode.org/Public/UNIDATA/UnicodeData.txt

and consider large anything marked as
CAPITAL and small anything marked as SMALL. I
didn't know what to guess about the symbols.
Am I using the right reference? How can I
recognize (or get a list of) valid uppercase and
lowercase unicode letters, as well as symbols
and punctuation?

Thanks for your help,
Maurício



More information about the Haskell-Cafe mailing list