Return the general category of a character
Moduleunicode-data-0.9.0Haskell2010
Unicode.Internal.Char.UnicodeData.GeneralCategory
Synopsis
- value generalCategory
- value generalCategoryPlanes0To3
- pattern UppercaseLetter
- pattern LowercaseLetter
- pattern TitlecaseLetter
- pattern ModifierLetter
- pattern OtherLetter
- pattern NonSpacingMark
- pattern SpacingCombiningMark
- pattern EnclosingMark
- pattern DecimalNumber
- pattern LetterNumber
- pattern OtherNumber
- pattern ConnectorPunctuation
- pattern DashPunctuation
- pattern OpenPunctuation
- pattern ClosePunctuation
- pattern InitialQuote
- pattern FinalQuote
- pattern OtherPunctuation
- pattern MathSymbol
- pattern CurrencySymbol
- pattern ModifierSymbol
- pattern OtherSymbol
- pattern Space
- pattern LineSeparator
- pattern ParagraphSeparator
- pattern Control
- pattern Format
- pattern Surrogate
- pattern PrivateUse
- pattern NotAssigned
- pattern MaxIsLetter
- pattern MaxIsAlphaNum
- pattern MaxIsLower
- pattern MaxIsUpper
- pattern MaxIsNumber
- pattern MaxIsSpace
- pattern MaxIsSeparator
- Packageunicode-data-0.9.0
- Exports39
- LanguageHaskell2010
- LicenceApache-2.0
- SourceGeneralCategory.hs
Lookup functions
Return the general category of a code point in planes 0 to 3
The caller of this function must ensure its parameter is < 0x40000.
General categories
General category Lu
General category Ll
General category Lt
General category Lm
General category Lo
General category Mn
General category Mc
General category Me
General category Nd
General category Nl
General category No
General category Pc
General category Pd
General category Ps
General category Pe
General category Pi
General category Pf
General category Po
General category Sm
General category Sc
General category Sk
General category So
General category Zs
General category Zl
General category Zp
General category Cc
General category Cf
General category Cs
General category Co
General category Cn
Characters bounds for predicates
Maximum codepoint satisfying isLetter
Maximum codepoint satisfying isAlphaNum
Maximum codepoint satisfying isLower
Maximum codepoint satisfying isUpper
Maximum codepoint satisfying isNumber
Maximum codepoint satisfying isSpace
Maximum codepoint satisfying isSeparator