Copyright | (c) Winterland 2017-2018 |
---|---|
License | BSD |
Maintainer | drkoster@qq.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
INTERNAL MODULE, provides utf8rewind constants
Synopsis
- newtype Locale = Locale CSize
- localeDefault :: Locale
- localeLithuanian :: Locale
- localeTurkishAndAzeriLatin :: Locale
- normalizeCompose :: CSize
- normalizeDecompose :: CSize
- normalizeCompatibility :: CSize
- data NormalizeMode
- normalizeModeToFlag :: NormalizeMode -> CSize
- data NormalizationResult
- toNormalizationResult :: Int -> NormalizationResult
- newtype Category = Category CSize
- categoryLetterUppercase :: Category
- categoryLetterLowercase :: Category
- categoryLetterTitlecase :: Category
- categoryLetterOther :: Category
- categoryLetter :: Category
- categoryCaseMapped :: Category
- categoryMarkNonSpacing :: Category
- categoryMarkSpacing :: Category
- categoryMarkEnclosing :: Category
- categoryMark :: Category
- categoryNumberDecimal :: Category
- categoryNumberLetter :: Category
- categoryNumberOther :: Category
- categoryNumber :: Category
- categoryPunctuationConnector :: Category
- categoryPunctuationDash :: Category
- categoryPunctuationOpen :: Category
- categoryPunctuationClose :: Category
- categoryPunctuationInitial :: Category
- categoryPunctuationFinal :: Category
- categoryPunctuationOther :: Category
- categoryPunctuation :: Category
- categorySymbolMath :: Category
- categorySymbolCurrency :: Category
- categorySymbolModifier :: Category
- categorySymbolOther :: Category
- categorySymbol :: Category
- categorySeparatorSpace :: Category
- categorySeparatorLine :: Category
- categorySeparatorParagraph :: Category
- categorySeparator :: Category
- categoryControl :: Category
- categoryFormat :: Category
- categorySurrogate :: Category
- categoryPrivateUse :: Category
- categoryUnassigned :: Category
- categoryCompatibility :: Category
- categoryIgnoreGraphemeCluste :: Category
- categoryIscntrl :: Category
- categoryIsprint :: Category
- categoryIsspace :: Category
- categoryIsblank :: Category
- categoryIsgraph :: Category
- categoryIspunct :: Category
- categoryIsalnum :: Category
- categoryIsalpha :: Category
- categoryIsupper :: Category
- categoryIslower :: Category
- categoryIsdigit :: Category
- categoryIsxdigit :: Category
- utf8envlocale :: IO Category
Documentation
Locale for case mapping.
normalizeCompose :: CSize Source #
see NormalizeMode
in Std.Data.Text.Base
data NormalizeMode Source #
These are the Unicode Normalization Forms:
Form | Description ---------------------------- | --------------------------------------------- Normalization Form D (NFD) | Canonical decomposition Normalization Form C (NFC) | Canonical decomposition, followed by canonical composition Normalization Form KD (NFKD) | Compatibility decomposition Normalization Form KC (NFKC) | Compatibility decomposition, followed by canonical composition
Instances
data NormalizationResult Source #
Instances
Unicode categories.
See isCategory
, you can combine categories with bitwise or.