isUpper
Selects upper-case or title-case alphabetic Unicode characters
(letters). Title case is used by a small number of letter ligatures
like the single-character form of
Lj.
Note: this predicate does
not work for letter-like
characters such as:
'Ⓐ' (
U+24B6 circled Latin
capital letter A) and
'Ⅳ' (
U+2163 Roman numeral
four). This is due to selecting only characters with the
GeneralCategory UppercaseLetter or
TitlecaseLetter.
See
isUpperCase for a more intuitive predicate. Note that
unlike
isUpperCase,
isUpper does select
title-case characters such as
'Dž' (
U+01C5
Latin capital letter d with small letter z with caron) or
'ᾯ'
(
U+1FAF Greek capital letter omega with dasia and perispomeni
and prosgegrammeni).
Selects upper-case or title-case alphabetic Unicode characters
(letters). Title case is used by a small number of letter ligatures
like the single-character form of Lj.
Selects upper-case or title-case alphabetic Unicode characters
(letters). Title case is used by a small number of letter ligatures
like the single-character form of
Lj.
It matches characters with general category
UppercaseLetter and
TitlecaseLetter.
See:
isUpperCase for the
full upper case predicate.
isUpper c == Data.Char.isUpper c
Test if a character is an ASCII upper-case letter.
Test if a character is a Latin-1 upper-case letter.
Selects upper-case Unicode letter-like characters.
Note: this predicate selects characters with the Unicode
property
Uppercase, which include letter-like characters such
as:
'Ⓐ' (
U+24B6 circled Latin capital letter A) and
'Ⅳ' (
U+2163 Roman numeral four).
See
isUpper for the legacy predicate. Note that unlike
isUpperCase,
isUpper does select
title-case
characters such as
'Dž' (
U+01C5 Latin capital letter
d with small letter z with caron) or
'ᾯ' (
U+1FAF
Greek capital letter omega with dasia and perispomeni and
prosgegrammeni).
Is this an upper-case character? Only works for the Latin1 subset,
otherwise returns
sFalse.
>>> prove $ \c -> sNot (isLowerL1 c .&& isUpperL1 c)
Q.E.D.
Test if a byte is the encoding of an ASCII upper-case letter.
Test if a byte is the encoding of a Latin-1 upper-case letter.
Returns
True if the given key value is in upper case.
Determines if a character is uppercase.
Returns
True if the given key value is in upper case.