- uppercaseLetter: Unicode.GeneralCategory
- lowercaseLetter: Unicode.GeneralCategory
- titlecaseLetter: Unicode.GeneralCategory
- casedLetter: Unicode.GeneralCategory
- modifierLetter: Unicode.GeneralCategory
- otherLetter: Unicode.GeneralCategory
- letter: Unicode.GeneralCategory
- nonspacingMark: Unicode.GeneralCategory
- spacingMark: Unicode.GeneralCategory
- enclosingMark: Unicode.GeneralCategory
- mark: Unicode.GeneralCategory
- decimalNumber: Unicode.GeneralCategory
- letterNumber: Unicode.GeneralCategory
- otherNumber: Unicode.GeneralCategory
- number: Unicode.GeneralCategory
- connectorPunctuation: Unicode.GeneralCategory
- dashPunctuation: Unicode.GeneralCategory
- openPunctuation: Unicode.GeneralCategory
- closePunctuation: Unicode.GeneralCategory
- initialPunctuation: Unicode.GeneralCategory
- finalPunctuation: Unicode.GeneralCategory
- otherPunctuation: Unicode.GeneralCategory
- punctuation: Unicode.GeneralCategory
- mathSymbol: Unicode.GeneralCategory
- currencySymbol: Unicode.GeneralCategory
- modifierSymbol: Unicode.GeneralCategory
- otherSymbol: Unicode.GeneralCategory
- symbol: Unicode.GeneralCategory
- spaceSeparator: Unicode.GeneralCategory
- lineSeparator: Unicode.GeneralCategory
- paragraphSeparator: Unicode.GeneralCategory
- separator: Unicode.GeneralCategory
- control: Unicode.GeneralCategory
- format: Unicode.GeneralCategory
- surrogate: Unicode.GeneralCategory
- privateUse: Unicode.GeneralCategory
- unassigned: Unicode.GeneralCategory
- other: Unicode.GeneralCategory
http://www.unicode.org/reports/tr44/#GC_Values_Table
Equations
- Unicode.instDecidableEqGeneralCategory x y = if h : Unicode.GeneralCategory.toCtorIdx x = Unicode.GeneralCategory.toCtorIdx y then isTrue (_ : x = y) else isFalse (_ : x = y → False)
Equations
- Unicode.instReprGeneralCategory = { reprPrec := [anonymous] }
Convert abbrevation String
to GeneralCategory
.
Equations
- One or more equations did not get rendered due to their size.
Convert GeneralCategory
to abbrevation String
.
Equations
- One or more equations did not get rendered due to their size.
Convert GeneralCategory
to abbrevation String
.
Equations
Get GeneralCategory
of a Char
.
NOTE: Grouping categories like letter
, mark
, number
, punctuation
, symbol
, separator
and other
are not in return value. If you want to check if a Char
is in these GeneralCategory
,
use charInGeneralCategory
instead.
Equations
- One or more equations did not get rendered due to their size.
Check if a Char
is in given GeneralCategory
.
Equations
- One or more equations did not get rendered due to their size.