text-icu-0.7.1.0: Bindings to the ICU library

Copyright | (c) 2010 Bryan O'Sullivan
License | BSD-style
Maintainer | bos@serpentine.com
Stability | experimental
Portability | GHC
Safe Haskell | None
Language | Haskell98

Data.Text.ICU.Char

Contents

- Working with character properties
- Property identifier types
  - Combining class
  - Normalization checking
  - Text boundaries
- Property value types
  - Text boundaries
- Functions
  - Conversion to numbers

Description

Access to the Unicode Character Database, implemented as bindings to the International Components for Unicode (ICU) libraries.

Unicode assigns each code point (not just assigned character) values for many properties. Most are simple boolean flags, or constants from a small enumerated list. For some, values are relatively more complex types.

For more information see "About the Unicode Character Database" http://www.unicode.org/ucd/ and the ICU User Guide chapter on Properties http://icu-project.org/userguide/properties.html.

Synopsis

- class Property p v | p -> v
- data BidiClass_ = BidiClass
- data Block_ = Block
- data Bool_
  - = Alphabetic
  - | ASCIIHexDigit
  - | BidiControl
  - | BidiMirrored
  - | Dash
  - | DefaultIgnorable
  - | Deprecated
  - | Diacritic
  - | Extender
  - | FullCompositionExclusion
  - | GraphemeBase
  - | GraphemeExtend
  - | GraphemeLink
  - | HexDigit
  - | Hyphen
  - | IDContinue
  - | IDStart
  - | Ideographic
  - | IDSBinaryOperator
  - | IDSTrinaryOperator
  - | JoinControl
  - | LogicalOrderException
  - | Lowercase
  - | Math
  - | NonCharacter
  - | QuotationMark
  - | Radical
  - | SoftDotted
  - | TerminalPunctuation
  - | UnifiedIdeograph
  - | Uppercase
  - | WhiteSpace
  - | XidContinue
  - | XidStart
  - | CaseSensitive
  - | STerm
  - | VariationSelector
  - | NFDInert
  - | NFKDInert
  - | NFCInert
  - | NFKCInert
  - | SegmentStarter
  - | PatternSyntax
  - | PatternWhiteSpace
  - | POSIXAlNum
  - | POSIXBlank
  - | POSIXGraph
  - | POSIXPrint
  - | POSIXXDigit
  - | Cased
  - | CaseIgnorable
  - | ChangesWhenLowercased
  - | ChangesWhenUppercased
  - | ChangesWhenTitlecased
  - | ChangesWhenCasefolded
  - | ChangesWhenCasemapped
  - | ChangesWhenNFKCCasefolded
- data Decomposition_ = Decomposition
- data EastAsianWidth_ = EastAsianWidth
- data GeneralCategory_ = GeneralCategory
- data HangulSyllableType_ = HangulSyllableType
- data JoiningGroup_ = JoiningGroup
- data JoiningType_ = JoiningType
- data NumericType_ = NumericType
- data CanonicalCombiningClass_ = CanonicalCombiningClass
- data LeadCanonicalCombiningClass_ = LeadCanonicalCombiningClass
- data TrailingCanonicalCombiningClass_ = TrailingCanonicalCombiningClass
- data NFCQuickCheck_ = NFCQuickCheck
- data NFDQuickCheck_ = NFDQuickCheck
- data NFKCQuickCheck_ = NFKCQuickCheck
- data NFKDQuickCheck_ = NFKDQuickCheck
- data GraphemeClusterBreak_ = GraphemeClusterBreak
- data LineBreak_ = LineBreak
- data SentenceBreak_ = SentenceBreak
- data WordBreak_ = WordBreak
- data BidiPairedBracketType_ = BidiPairedBracketType
- data BlockCode
  - = NoBlock
  - | BasicLatin
  - | Latin1Supplement
  - | LatinExtendedA
  - | LatinExtendedB
  - | IPAExtensions
  - | SpacingModifierLetters
  - | CombiningDiacriticalMarks
  - | GreekAndCoptic
  - | Cyrillic
  - | Armenian
  - | Hebrew
  - | Arabic
  - | Syriac
  - | Thaana
  - | Devanagari
  - | Bengali
  - | Gurmukhi
  - | Gujarati
  - | Oriya
  - | Tamil
  - | Telugu
  - | Kannada
  - | Malayalam
  - | Sinhala
  - | Thai
  - | Lao
  - | Tibetan
  - | Myanmar
  - | Georgian
  - | HangulJamo
  - | Ethiopic
  - | Cherokee
  - | UnifiedCanadianAboriginalSyllabics
  - | Ogham
  - | Runic
  - | Khmer
  - | Mongolian
  - | LatinExtendedAdditional
  - | GreekExtended
  - | GeneralPunctuation
  - | SuperscriptsAndSubscripts
  - | CurrencySymbols
  - | CombiningDiacriticalMarksForSymbols
  - | LetterlikeSymbols
  - | NumberForms
  - | Arrows
  - | MathematicalOperators
  - | MiscellaneousTechnical
  - | ControlPictures
  - | OpticalCharacterRecognition
  - | EnclosedAlphanumerics
  - | BoxDrawing
  - | BlockElements
  - | GeometricShapes
  - | MiscellaneousSymbols
  - | Dingbats
  - | BraillePatterns
  - | CJKRadicalsSupplement
  - | KangxiRadicals
  - | IdeographicDescriptionCharacters
  - | CJKSymbolsAndPunctuation
  - | Hiragana
  - | Katakana
  - | Bopomofo
  - | HangulCompatibilityJamo
  - | Kanbun
  - | BopomofoExtended
  - | EnclosedCJKLettersAndMonths
  - | CJKCompatibility
  - | CJKUnifiedIdeographsExtensionA
  - | CJKUnifiedIdeographs
  - | YiSyllables
  - | YiRadicals
  - | HangulSyllables
  - | HighSurrogates
  - | HighPrivateUseSurrogates
  - | LowSurrogates
  - | PrivateUseArea
  - | CJKCompatibilityIdeographs
  - | AlphabeticPresentationForms
  - | ArabicPresentationFormsA
  - | CombiningHalfMarks
  - | CJKCompatibilityForms
  - | SmallFormVariants
  - | ArabicPresentationFormsB
  - | Specials
  - | HalfwidthAndFullwidthForms
  - | OldItalic
  - | Gothic
  - | Deseret
  - | ByzantineMusicalSymbols
  - | MusicalSymbols
  - | MathematicalAlphanumericSymbols
  - | CJKUnifiedIdeographsExtensionB
  - | CJKCompatibilityIdeographsSupplement
  - | Tags
  - | CyrillicSupplement
  - | Tagalog
  - | Hanunoo
  - | Buhid
  - | Tagbanwa
  - | MiscellaneousMathematicalSymbolsA
  - | SupplementalArrowsA
  - | SupplementalArrowsB
  - | MiscellaneousMathematicalSymbolsB
  - | SupplementalMathematicalOperators
  - | KatakanaPhoneticExtensions
  - | VariationSelectors
  - | SupplementaryPrivateUseAreaA
  - | SupplementaryPrivateUseAreaB
  - | Limbu
  - | TaiLe
  - | KhmerSymbols
  - | PhoneticExtensions
  - | MiscellaneousSymbolsAndArrows
  - | YijingHexagramSymbols
  - | LinearBSyllabary
  - | LinearBIdeograms
  - | AegeanNumbers
  - | Ugaritic
  - | Shavian
  - | Osmanya
  - | CypriotSyllabary
  - | TaiXuanJingSymbols
  - | VariationSelectorsSupplement
  - | AncientGreekMusicalNotation
  - | AncientGreekNumbers
  - | ArabicSupplement
  - | Buginese
  - | CJKStrokes
  - | CombiningDiacriticalMarksSupplement
  - | Coptic
  - | EthiopicExtended
  - | EthiopicSupplement
  - | GeorgianSupplement
  - | Glagolitic
  - | Kharoshthi
  - | ModifierToneLetters
  - | NewTaiLue
  - | OldPersian
  - | PhoneticExtensionsSupplement
  - | SupplementalPunctuation
  - | SylotiNagri
  - | Tifinagh
  - | VerticalForms
  - | N'Ko
  - | Balinese
  - | LatinExtendedC
  - | LatinExtendedD
  - | PhagsPa
  - | Phoenician
  - | Cuneiform
  - | CuneiformNumbersAndPunctuation
  - | CountingRodNumerals
  - | Sundanese
  - | Lepcha
  - | OlChiki
  - | CyrillicExtendedA
  - | Vai
  - | CyrillicExtendedB
  - | Saurashtra
  - | KayahLi
  - | Rejang
  - | Cham
  - | AncientSymbols
  - | PhaistosDisc
  - | Lycian
  - | Carian
  - | Lydian
  - | MahjongTiles
  - | DominoTiles
  - | Samaritan
  - | UnifiedCanadianAboriginalSyllabicsExtended
  - | TaiTham
  - | VedicExtensions
  - | Lisu
  - | Bamum
  - | CommonIndicNumberForms
  - | DevanagariExtended
  - | HangulJamoExtendedA
  - | Javanese
  - | MyanmarExtendedA
  - | TaiViet
  - | MeeteiMayek
  - | HangulJamoExtendedB
  - | ImperialAramaic
  - | OldSouthArabian
  - | Avestan
  - | InscriptionalParthian
  - | InscriptionalPahlavi
  - | OldTurkic
  - | RumiNumeralSymbols
  - | Kaithi
  - | EgyptianHieroglyphs
  - | EnclosedAlphanumericSupplement
  - | EnclosedIdeographicSupplement
  - | CJKUnifiedIdeographsExtensionC
  - | Mandaic
  - | Batak
  - | EthiopicExtendedA
  - | Brahmi
  - | BamumSupplement
  - | KanaSupplement
  - | PlayingCards
  - | MiscellaneousSymbolsAndPictographs
  - | Emoticons
  - | TransportAndMapSymbols
  - | AlchemicalSymbols
  - | CJKUnifiedIdeographsExtensionD
  - | ArabicExtendedA
  - | ArabicMathematicalAlphabeticSymbols
  - | Chakma
  - | MeeteiMayekExtensions
  - | MeroiticCursive
  - | MeroiticHieroglyphs
  - | Miao
  - | Sharada
  - | SoraSompeng
  - | SundaneseSupplement
  - | Takri
  - | BassaVah
  - | CaucasianAlbanian
  - | CopticEpactNumbers
  - | CombiningDiacriticalMarksExtended
  - | Duployan
  - | Elbasan
  - | GeometricShapesExtended
  - | Grantha
  - | Khojki
  - | Khudawadi
  - | LatinExtendedE
  - | LinearA
  - | Mahajani
  - | Manichaean
  - | MendeKikakui
  - | Modi
  - | Mro
  - | MyanmarExtendedB
  - | Nabataean
  - | OldNorthArabian
  - | OldPermic
  - | OrnamentalDingbats
  - | PahawhHmong
  - | Palmyrene
  - | PauCinHau
  - | PsalterPahlavi
  - | ShorthandFormatControls
  - | Siddham
  - | SinhalaArchaicNumbers
  - | SupplementalArrowsC
  - | Tirhuta
  - | WarangCiti
  - | Ahom
  - | AnatolianHieroglyphs
  - | CherokeeSupplement
  - | CJKUnifiedIdeographsExtensionE
  - | EarlyDynasticCuneiform
  - | Hatran
  - | Multani
  - | OldHungarian
  - | SupplementalSymbolsAndPictographs
  - | SuttonSignwriting
- data Direction
  - = LeftToRight
  - | RightToLeft
  - | EuropeanNumber
  - | EuropeanNumberSeparator
  - | EuropeanNumberTerminator
  - | ArabicNumber
  - | CommonNumberSeparator
  - | BlockSeparator
  - | SegmentSeparator
  - | WhiteSpaceNeutral
  - | OtherNeutral
  - | LeftToRightEmbedding
  - | LeftToRightOverride
  - | RightToLeftArabic
  - | RightToLeftEmbedding
  - | RightToLeftOverride
  - | PopDirectionalFormat
  - | DirNonSpacingMark
  - | BoundaryNeutral
- data Decomposition
  - = Canonical
  - | Compat
  - | Circle
  - | Final
  - | Font
  - | Fraction
  - | Initial
  - | Isolated
  - | Medial
  - | Narrow
  - | NoBreak
  - | Small
  - | Square
  - | Sub
  - | Super
  - | Vertical
  - | Wide
  - | Count
- data EastAsianWidth
  - = EANeutral
  - | EAAmbiguous
  - | EAHalf
  - | EAFull
  - | EANarrow
  - | EAWide
  - | EACount
- data GeneralCategory
  - = GeneralOtherType
  - | UppercaseLetter
  - | LowercaseLetter
  - | TitlecaseLetter
  - | ModifierLetter
  - | OtherLetter
  - | NonSpacingMark
  - | EnclosingMark
  - | CombiningSpacingMark
  - | DecimalDigitNumber
  - | LetterNumber
  - | OtherNumber
  - | SpaceSeparator
  - | LineSeparator
  - | ParagraphSeparator
  - | ControlChar
  - | FormatChar
  - | PrivateUseChar
  - | Surrogate
  - | DashPunctuation
  - | StartPunctuation
  - | EndPunctuation
  - | ConnectorPunctuation
  - | OtherPunctuation
  - | MathSymbol
  - | CurrencySymbol
  - | ModifierSymbol
  - | OtherSymbol
  - | InitialPunctuation
  - | FinalPunctuation
- data HangulSyllableType
  - = LeadingJamo
  - | VowelJamo
  - | TrailingJamo
  - | LVSyllable
  - | LVTSyllable
- data JoiningGroup
  - = Ain
  - | Alaph
  - | Alef
  - | Beh
  - | Beth
  - | Dal
  - | DalathRish
  - | E
  - | Feh
  - | FinalSemkath
  - | Gaf
  - | Gamal
  - | Hah
  - | HamzaOnHehGoal
  - | He
  - | Heh
  - | HehGoal
  - | Heth
  - | Kaf
  - | Kaph
  - | KnottedHeh
  - | Lam
  - | Lamadh
  - | Meem
  - | Mim
  - | Noon
  - | Nun
  - | Pe
  - | Qaf
  - | Qaph
  - | Reh
  - | ReversedPe
  - | Sad
  - | Sadhe
  - | Seen
  - | Semkath
  - | Shin
  - | SwashKaf
  - | SyriacWaw
  - | Tah
  - | Taw
  - | TehMarbuta
  - | Teth
  - | Waw
  - | Yeh
  - | YehBarree
  - | YehWithTail
  - | Yudh
  - | YudhHe
  - | Zain
  - | Fe
  - | Khaph
  - | Zhain
  - | BurushaskiYehBarree
  - | FarsiYeh
  - | Nya
  - | RohingyaYeh
  - | ManichaeanAleph
  - | ManichaeanAyin
  - | ManichaeanBeth
  - | ManichaeanDaleth
  - | ManichaeanDhamedh
  - | ManichaeanFive
  - | ManichaeanGimel
  - | ManichaeanHeth
  - | ManichaeanHundred
  - | ManichaeanKaph
  - | ManichaeanLamedh
  - | ManichaeanMem
  - | ManichaeanNun
  - | ManichaeanOne
  - | ManichaeanPe
  - | ManichaeanQoph
  - | ManichaeanResh
  - | ManichaeanSadhe
  - | ManichaeanSamekh
  - | ManichaeanTaw
  - | ManichaeanTen
  - | ManichaeanTeth
  - | ManichaeanThamedh
  - | ManichaeanTwenty
  - | ManichaeanWaw
  - | ManichaeanYodh
  - | ManichaeanZayin
  - | StraightWaw
- data JoiningType
  - = JoinCausing
  - | DualJoining
  - | LeftJoining
  - | RightJoining
  - | Transparent
- data NumericType
  - = NTDecimal
  - | NTDigit
  - | NTNumeric
- data GraphemeClusterBreak
  - = Control
  - | CR
  - | Extend
  - | L
  - | LF
  - | LV
  - | LVT
  - | T
  - | V
  - | SpacingMark
  - | Prepend
- data LineBreak
  - = Ambiguous
  - | LBAlphabetic
  - | BreakBoth
  - | BreakAfter
  - | BreakBefore
  - | MandatoryBreak
  - | ContingentBreak
  - | ClosePunctuation
  - | CombiningMark
  - | CarriageReturn
  - | Exclamation
  - | Glue
  - | LBHyphen
  - | LBIdeographic
  - | Inseparable
  - | InfixNumeric
  - | LineFeed
  - | Nonstarter
  - | Numeric
  - | OpenPunctuation
  - | PostfixNumeric
  - | PrefixNumeric
  - | Quotation
  - | ComplexContext
  - | LBSurrogate
  - | Space
  - | BreakSymbols
  - | Zwspace
  - | NextLine
  - | WordJoiner
  - | H2
  - | H3
  - | JL
  - | JT
  - | JV
  - | CloseParenthesis
  - | ConditionalJapaneseStarter
  - | LBHebrewLetter
  - | LBRegionalIndicator
- data SentenceBreak
  - = SBATerm
  - | SBClose
  - | SBFormat
  - | SBLower
  - | SBNumeric
  - | SBOLetter
  - | SBSep
  - | SBSP
  - | SBSTerm
  - | SBUpper
  - | SBCR
  - | SBExtend
  - | SBLF
  - | SBSContinue
- data WordBreak
  - = WBALetter
  - | WBFormat
  - | WBKatakana
  - | WBMidLetter
  - | WBMidNum
  - | WBNumeric
  - | WBExtendNumLet
  - | WBCR
  - | WBExtend
  - | WBLF
  - | WBMidNumLet
  - | WBNewline
  - | RegionalIndicator
  - | HebrewLetter
  - | SingleQuote
  - | DoubleQuote
- data BidiPairedBracketType
  - = BPTNone
  - | BPTOpen
  - | BPTClose
- blockCode :: Char -> BlockCode
- charFullName :: Char -> String
- charName :: Char -> String
- charFromFullName :: String -> Maybe Char
- charFromName :: String -> Maybe Char
- combiningClass :: Char -> Int
- direction :: Char -> Direction
- property :: Property p v => p -> Char -> v
- isMirrored :: Char -> Bool
- mirror :: Char -> Char
- digitToInt :: Char -> Maybe Int
- numericValue :: Char -> Maybe Double

# Working with character properties

The `property` function provides the main view onto the Unicode Character Database. Because Unicode character properties have a variety of types, the `property` function is polymorphic. The type of its first argument dictates the type of its result, by use of the `Property` typeclass.

For instance, ``property` `Alphabetic`` returns a `Bool`, while ``property` `NFCQuickCheck`` returns a ``Maybe` `Bool``.

class Property p v | p -> v #

Minimal complete definition

fromNative, toUProperty

#### Instances

Instances details

Property TrailingCanonicalCombiningClass_ Int # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: TrailingCanonicalCombiningClass_ -> Int32 -> Int toUProperty :: TrailingCanonicalCombiningClass_ -> UProperty
Property LeadCanonicalCombiningClass_ Int # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: LeadCanonicalCombiningClass_ -> Int32 -> Int toUProperty :: LeadCanonicalCombiningClass_ -> UProperty
Property GeneralCategory_ GeneralCategory # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: GeneralCategory_ -> Int32 -> GeneralCategory toUProperty :: GeneralCategory_ -> UProperty
Property EastAsianWidth_ EastAsianWidth # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: EastAsianWidth_ -> Int32 -> EastAsianWidth toUProperty :: EastAsianWidth_ -> UProperty
Property CanonicalCombiningClass_ Int # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: CanonicalCombiningClass_ -> Int32 -> Int toUProperty :: CanonicalCombiningClass_ -> UProperty
Property Block_ BlockCode # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: Block_ -> Int32 -> BlockCode toUProperty :: Block_ -> UProperty
Property BidiClass_ Direction # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: BidiClass_ -> Int32 -> Direction toUProperty :: BidiClass_ -> UProperty
Property Bool_ Bool # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: Bool_ -> Int32 -> Bool toUProperty :: Bool_ -> UProperty
Property BidiPairedBracketType_ (Maybe BidiPairedBracketType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: BidiPairedBracketType_ -> Int32 -> Maybe BidiPairedBracketType toUProperty :: BidiPairedBracketType_ -> UProperty
Property WordBreak_ (Maybe WordBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: WordBreak_ -> Int32 -> Maybe WordBreak toUProperty :: WordBreak_ -> UProperty
Property SentenceBreak_ (Maybe SentenceBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: SentenceBreak_ -> Int32 -> Maybe SentenceBreak toUProperty :: SentenceBreak_ -> UProperty
Property GraphemeClusterBreak_ (Maybe GraphemeClusterBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: GraphemeClusterBreak_ -> Int32 -> Maybe GraphemeClusterBreak toUProperty :: GraphemeClusterBreak_ -> UProperty
Property NFKDQuickCheck_ (Maybe Bool) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NFKDQuickCheck_ -> Int32 -> Maybe Bool toUProperty :: NFKDQuickCheck_ -> UProperty
Property NFKCQuickCheck_ (Maybe Bool) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NFKCQuickCheck_ -> Int32 -> Maybe Bool toUProperty :: NFKCQuickCheck_ -> UProperty
Property NFDQuickCheck_ (Maybe Bool) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NFDQuickCheck_ -> Int32 -> Maybe Bool toUProperty :: NFDQuickCheck_ -> UProperty
Property NFCQuickCheck_ (Maybe Bool) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NFCQuickCheck_ -> Int32 -> Maybe Bool toUProperty :: NFCQuickCheck_ -> UProperty
Property HangulSyllableType_ (Maybe HangulSyllableType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: HangulSyllableType_ -> Int32 -> Maybe HangulSyllableType toUProperty :: HangulSyllableType_ -> UProperty
Property NumericType_ (Maybe NumericType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NumericType_ -> Int32 -> Maybe NumericType toUProperty :: NumericType_ -> UProperty
Property LineBreak_ (Maybe LineBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: LineBreak_ -> Int32 -> Maybe LineBreak toUProperty :: LineBreak_ -> UProperty
Property JoiningType_ (Maybe JoiningType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: JoiningType_ -> Int32 -> Maybe JoiningType toUProperty :: JoiningType_ -> UProperty
Property JoiningGroup_ (Maybe JoiningGroup) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: JoiningGroup_ -> Int32 -> Maybe JoiningGroup toUProperty :: JoiningGroup_ -> UProperty
Property Decomposition_ (Maybe Decomposition) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: Decomposition_ -> Int32 -> Maybe Decomposition toUProperty :: Decomposition_ -> UProperty

# Property identifier types

data BidiClass_ #

Constructors

BidiClass |

#### Instances

Instances details

Show BidiClass_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> BidiClass_ -> ShowS # show :: BidiClass_ -> String # showList :: [BidiClass_] -> ShowS #
NFData BidiClass_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: BidiClass_ -> () #
Property BidiClass_ Direction # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: BidiClass_ -> Int32 -> Direction toUProperty :: BidiClass_ -> UProperty

data Block_ #

Constructors

Block |

#### Instances

Instances details

NFData Block_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: Block_ -> () #
Property Block_ BlockCode # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: Block_ -> Int32 -> BlockCode toUProperty :: Block_ -> UProperty

data Bool_ #

Constructors

Alphabetic |
ASCIIHexDigit | 0-9, A-F, a-f
BidiControl | Format controls which have specific functions in the Bidi Algorithm.
BidiMirrored | Characters that may change display in RTL text.
Dash | Variations of dashes.
DefaultIgnorable | Ignorable in most processing.
Deprecated | The usage of deprecated characters is strongly discouraged.
Diacritic | Characters that linguistically modify the meaning of another character to which they apply.
Extender | Extend the value or shape of a preceding alphabetic character, e.g. length and iteration marks.
FullCompositionExclusion |
GraphemeBase | For programmatic determination of grapheme cluster boundaries.
GraphemeExtend | For programmatic determination of grapheme cluster boundaries.
GraphemeLink | For programmatic determination of grapheme cluster boundaries.
HexDigit | Characters commonly used for hexadecimal numbers.
Hyphen | Dashes used to mark connections between pieces of words, plus the Katakana middle dot.
IDContinue | Characters that can continue an identifier.
IDStart | Characters that can start an identifier.
Ideographic | CJKV ideographs.
IDSBinaryOperator | For programmatic determination of Ideographic Description Sequences.
IDSTrinaryOperator |
JoinControl | Format controls for cursive joining and ligation.
LogicalOrderException | Characters that do not use logical order and require special handling in most processing.
Lowercase |
Math |
NonCharacter | Code points that are explicitly defined as illegal for the encoding of characters.
QuotationMark |
Radical | For programmatic determination of Ideographic Description Sequences.
SoftDotted | Characters with a "soft dot", like i or j. An accent placed on these characters causes the dot to disappear.
TerminalPunctuation | Punctuation characters that generally mark the end of textual units.
UnifiedIdeograph | For programmatic determination of Ideographic Description Sequences.
Uppercase |
WhiteSpace |
XidContinue | `IDContinue` modified to allow closure under normalization forms NFKC and NFKD.
XidStart | `IDStart` modified to allow closure under normalization forms NFKC and NFKD.
CaseSensitive | Either the source of a case mapping or in the target of a case mapping. Not the same as the general category `Cased_Letter`.
STerm | Sentence Terminal. Used in UAX #29: Text Boundaries http://www.unicode.org/reports/tr29/.
VariationSelector | Indicates all those characters that qualify as Variation Selectors. For details on the behavior of these characters, see http://unicode.org/Public/UNIDATA/StandardizedVariants.html and 15.6 Variation Selectors.
NFDInert | ICU-specific property for characters that are inert under NFD, i.e. they do not interact with adjacent characters. Used for example in normalizing transforms in incremental mode to find the boundary of safely normalizable text despite possible text additions.
NFKDInert | ICU-specific property for characters that are inert under NFKD, i.e. they do not interact with adjacent characters.
NFCInert | ICU-specific property for characters that are inert under NFC, i.e. they do not interact with adjacent characters.
NFKCInert | ICU-specific property for characters that are inert under NFKC, i.e. they do not interact with adjacent characters.
SegmentStarter | ICU-specific property for characters that are starters in terms of Unicode normalization and combining character sequences.
PatternSyntax | See UAX #31 Identifier and Pattern Syntax http://www.unicode.org/reports/tr31/.
PatternWhiteSpace | See UAX #31 Identifier and Pattern Syntax http://www.unicode.org/reports/tr31/.
POSIXAlNum | Alphanumeric character class.
POSIXBlank | Blank character class.
POSIXGraph | Graph character class.
POSIXPrint | Printable character class.
POSIXXDigit | Hex digit character class.
Cased | Cased character class. For lowercase, uppercase and titlecase characters.
CaseIgnorable | Used in context-sensitive case mappings.
ChangesWhenLowercased |
ChangesWhenUppercased |
ChangesWhenTitlecased |
ChangesWhenCasefolded |
ChangesWhenCasemapped |
ChangesWhenNFKCCasefolded |

#### Instances

Instances details

Enum Bool_ # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: Bool_ -> Bool_ # pred :: Bool_ -> Bool_ # toEnum :: Int -> Bool_ # fromEnum :: Bool_ -> Int # enumFrom :: Bool_ -> [Bool_] # enumFromThen :: Bool_ -> Bool_ -> [Bool_] # enumFromTo :: Bool_ -> Bool_ -> [Bool_] # enumFromThenTo :: Bool_ -> Bool_ -> Bool_ -> [Bool_] #
Eq Bool_ # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: Bool_ -> Bool_ -> Bool # (/=) :: Bool_ -> Bool_ -> Bool #
Show Bool_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> Bool_ -> ShowS # show :: Bool_ -> String # showList :: [Bool_] -> ShowS #
NFData Bool_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: Bool_ -> () #
Property Bool_ Bool # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: Bool_ -> Int32 -> Bool toUProperty :: Bool_ -> UProperty

data Decomposition_ #

Constructors

Decomposition |

#### Instances

Instances details

Show Decomposition_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> Decomposition_ -> ShowS # show :: Decomposition_ -> String # showList :: [Decomposition_] -> ShowS #
NFData Decomposition_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: Decomposition_ -> () #
Property Decomposition_ (Maybe Decomposition) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: Decomposition_ -> Int32 -> Maybe Decomposition toUProperty :: Decomposition_ -> UProperty

data EastAsianWidth_ #

Constructors

EastAsianWidth |

#### Instances

Instances details

Show EastAsianWidth_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> EastAsianWidth_ -> ShowS # show :: EastAsianWidth_ -> String # showList :: [EastAsianWidth_] -> ShowS #
NFData EastAsianWidth_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: EastAsianWidth_ -> () #
Property EastAsianWidth_ EastAsianWidth # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: EastAsianWidth_ -> Int32 -> EastAsianWidth toUProperty :: EastAsianWidth_ -> UProperty

data GeneralCategory_ #

Constructors

GeneralCategory |

#### Instances

Instances details

Show GeneralCategory_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> GeneralCategory_ -> ShowS # show :: GeneralCategory_ -> String # showList :: [GeneralCategory_] -> ShowS #
NFData GeneralCategory_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: GeneralCategory_ -> () #
Property GeneralCategory_ GeneralCategory # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: GeneralCategory_ -> Int32 -> GeneralCategory toUProperty :: GeneralCategory_ -> UProperty

data HangulSyllableType_ #

Constructors

HangulSyllableType |

#### Instances

Instances details

Show HangulSyllableType_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> HangulSyllableType_ -> ShowS # show :: HangulSyllableType_ -> String # showList :: [HangulSyllableType_] -> ShowS #
NFData HangulSyllableType_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: HangulSyllableType_ -> () #
Property HangulSyllableType_ (Maybe HangulSyllableType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: HangulSyllableType_ -> Int32 -> Maybe HangulSyllableType toUProperty :: HangulSyllableType_ -> UProperty

data JoiningGroup_ #

Constructors

JoiningGroup |

#### Instances

Instances details

Show JoiningGroup_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> JoiningGroup_ -> ShowS # show :: JoiningGroup_ -> String # showList :: [JoiningGroup_] -> ShowS #
NFData JoiningGroup_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: JoiningGroup_ -> () #
Property JoiningGroup_ (Maybe JoiningGroup) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: JoiningGroup_ -> Int32 -> Maybe JoiningGroup toUProperty :: JoiningGroup_ -> UProperty

data JoiningType_ #

Constructors

JoiningType |

#### Instances

Instances details

Show JoiningType_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> JoiningType_ -> ShowS # show :: JoiningType_ -> String # showList :: [JoiningType_] -> ShowS #
NFData JoiningType_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: JoiningType_ -> () #
Property JoiningType_ (Maybe JoiningType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: JoiningType_ -> Int32 -> Maybe JoiningType toUProperty :: JoiningType_ -> UProperty

data NumericType_ #

Constructors

NumericType |

#### Instances

Instances details

Show NumericType_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> NumericType_ -> ShowS # show :: NumericType_ -> String # showList :: [NumericType_] -> ShowS #
NFData NumericType_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: NumericType_ -> () #
Property NumericType_ (Maybe NumericType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NumericType_ -> Int32 -> Maybe NumericType toUProperty :: NumericType_ -> UProperty

## Combining class

data CanonicalCombiningClass_ #

Constructors

CanonicalCombiningClass |

#### Instances

Instances details

Show CanonicalCombiningClass_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> CanonicalCombiningClass_ -> ShowS # show :: CanonicalCombiningClass_ -> String # showList :: [CanonicalCombiningClass_] -> ShowS #
NFData CanonicalCombiningClass_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: CanonicalCombiningClass_ -> () #
Property CanonicalCombiningClass_ Int # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: CanonicalCombiningClass_ -> Int32 -> Int toUProperty :: CanonicalCombiningClass_ -> UProperty

data LeadCanonicalCombiningClass_ #

Constructors

LeadCanonicalCombiningClass |

#### Instances

Instances details

Show LeadCanonicalCombiningClass_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> LeadCanonicalCombiningClass_ -> ShowS # show :: LeadCanonicalCombiningClass_ -> String # showList :: [LeadCanonicalCombiningClass_] -> ShowS #
NFData LeadCanonicalCombiningClass_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: LeadCanonicalCombiningClass_ -> () #
Property LeadCanonicalCombiningClass_ Int # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: LeadCanonicalCombiningClass_ -> Int32 -> Int toUProperty :: LeadCanonicalCombiningClass_ -> UProperty

data TrailingCanonicalCombiningClass_ #

Constructors

TrailingCanonicalCombiningClass |

#### Instances

Instances details

Show TrailingCanonicalCombiningClass_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> TrailingCanonicalCombiningClass_ -> ShowS # show :: TrailingCanonicalCombiningClass_ -> String # showList :: [TrailingCanonicalCombiningClass_] -> ShowS #
NFData TrailingCanonicalCombiningClass_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: TrailingCanonicalCombiningClass_ -> () #
Property TrailingCanonicalCombiningClass_ Int # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: TrailingCanonicalCombiningClass_ -> Int32 -> Int toUProperty :: TrailingCanonicalCombiningClass_ -> UProperty

## Normalization checking

data NFCQuickCheck_ #

Constructors

NFCQuickCheck |

#### Instances

Instances details

Show NFCQuickCheck_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> NFCQuickCheck_ -> ShowS # show :: NFCQuickCheck_ -> String # showList :: [NFCQuickCheck_] -> ShowS #
NFData NFCQuickCheck_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: NFCQuickCheck_ -> () #
Property NFCQuickCheck_ (Maybe Bool) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NFCQuickCheck_ -> Int32 -> Maybe Bool toUProperty :: NFCQuickCheck_ -> UProperty

data NFDQuickCheck_ #

Constructors

NFDQuickCheck |

#### Instances

Instances details

Show NFDQuickCheck_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> NFDQuickCheck_ -> ShowS # show :: NFDQuickCheck_ -> String # showList :: [NFDQuickCheck_] -> ShowS #
NFData NFDQuickCheck_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: NFDQuickCheck_ -> () #
Property NFDQuickCheck_ (Maybe Bool) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NFDQuickCheck_ -> Int32 -> Maybe Bool toUProperty :: NFDQuickCheck_ -> UProperty

data NFKCQuickCheck_ #

Constructors

NFKCQuickCheck |

#### Instances

Instances details

Show NFKCQuickCheck_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> NFKCQuickCheck_ -> ShowS # show :: NFKCQuickCheck_ -> String # showList :: [NFKCQuickCheck_] -> ShowS #
NFData NFKCQuickCheck_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: NFKCQuickCheck_ -> () #
Property NFKCQuickCheck_ (Maybe Bool) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NFKCQuickCheck_ -> Int32 -> Maybe Bool toUProperty :: NFKCQuickCheck_ -> UProperty

data NFKDQuickCheck_ #

Constructors

NFKDQuickCheck |

#### Instances

Instances details

Show NFKDQuickCheck_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> NFKDQuickCheck_ -> ShowS # show :: NFKDQuickCheck_ -> String # showList :: [NFKDQuickCheck_] -> ShowS #
NFData NFKDQuickCheck_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: NFKDQuickCheck_ -> () #
Property NFKDQuickCheck_ (Maybe Bool) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NFKDQuickCheck_ -> Int32 -> Maybe Bool toUProperty :: NFKDQuickCheck_ -> UProperty

## Text boundaries

data GraphemeClusterBreak_ #

Constructors

GraphemeClusterBreak |

#### Instances

Instances details

Show GraphemeClusterBreak_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> GraphemeClusterBreak_ -> ShowS # show :: GraphemeClusterBreak_ -> String # showList :: [GraphemeClusterBreak_] -> ShowS #
NFData GraphemeClusterBreak_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: GraphemeClusterBreak_ -> () #
Property GraphemeClusterBreak_ (Maybe GraphemeClusterBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: GraphemeClusterBreak_ -> Int32 -> Maybe GraphemeClusterBreak toUProperty :: GraphemeClusterBreak_ -> UProperty

data LineBreak_ #

Constructors

LineBreak |

#### Instances

Instances details

Show LineBreak_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> LineBreak_ -> ShowS # show :: LineBreak_ -> String # showList :: [LineBreak_] -> ShowS #
NFData LineBreak_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: LineBreak_ -> () #
Property LineBreak_ (Maybe LineBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: LineBreak_ -> Int32 -> Maybe LineBreak toUProperty :: LineBreak_ -> UProperty

data SentenceBreak_ #

Constructors

SentenceBreak |

#### Instances

Instances details

Show SentenceBreak_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> SentenceBreak_ -> ShowS # show :: SentenceBreak_ -> String # showList :: [SentenceBreak_] -> ShowS #
NFData SentenceBreak_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: SentenceBreak_ -> () #
Property SentenceBreak_ (Maybe SentenceBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: SentenceBreak_ -> Int32 -> Maybe SentenceBreak toUProperty :: SentenceBreak_ -> UProperty

data WordBreak_ #

Constructors

WordBreak |

#### Instances

Instances details

Show WordBreak_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> WordBreak_ -> ShowS # show :: WordBreak_ -> String # showList :: [WordBreak_] -> ShowS #
NFData WordBreak_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: WordBreak_ -> () #
Property WordBreak_ (Maybe WordBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: WordBreak_ -> Int32 -> Maybe WordBreak toUProperty :: WordBreak_ -> UProperty

data BidiPairedBracketType_ #

Constructors

BidiPairedBracketType |

#### Instances

Instances details

Show BidiPairedBracketType_ # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> BidiPairedBracketType_ -> ShowS # show :: BidiPairedBracketType_ -> String # showList :: [BidiPairedBracketType_] -> ShowS #
NFData BidiPairedBracketType_ # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: BidiPairedBracketType_ -> () #
Property BidiPairedBracketType_ (Maybe BidiPairedBracketType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: BidiPairedBracketType_ -> Int32 -> Maybe BidiPairedBracketType toUProperty :: BidiPairedBracketType_ -> UProperty

# Property value types

data BlockCode #

Descriptions of Unicode blocks.

Constructors

NoBlock |
BasicLatin |
Latin1Supplement |
LatinExtendedA |
LatinExtendedB |
IPAExtensions |
SpacingModifierLetters |
CombiningDiacriticalMarks |
GreekAndCoptic |
Cyrillic |
Armenian |
Hebrew |
Arabic |
Syriac |
Thaana |
Devanagari |
Bengali |
Gurmukhi |
Gujarati |
Oriya |
Tamil |
Telugu |
Kannada |
Malayalam |
Sinhala |
Thai |
Lao |
Tibetan |
Myanmar |
Georgian |
HangulJamo |
Ethiopic |
Cherokee |
UnifiedCanadianAboriginalSyllabics |
Ogham |
Runic |
Khmer |
Mongolian |
LatinExtendedAdditional |
GreekExtended |
GeneralPunctuation |
SuperscriptsAndSubscripts |
CurrencySymbols |
CombiningDiacriticalMarksForSymbols |
LetterlikeSymbols |
NumberForms |
Arrows |
MathematicalOperators |
MiscellaneousTechnical |
ControlPictures |
OpticalCharacterRecognition |
EnclosedAlphanumerics |
BoxDrawing |
BlockElements |
GeometricShapes |
MiscellaneousSymbols |
Dingbats |
BraillePatterns |
CJKRadicalsSupplement |
KangxiRadicals |
IdeographicDescriptionCharacters |
CJKSymbolsAndPunctuation |
Hiragana |
Katakana |
Bopomofo |
HangulCompatibilityJamo |
Kanbun |
BopomofoExtended |
EnclosedCJKLettersAndMonths |
CJKCompatibility |
CJKUnifiedIdeographsExtensionA |
CJKUnifiedIdeographs |
YiSyllables |
YiRadicals |
HangulSyllables |
HighSurrogates |
HighPrivateUseSurrogates |
LowSurrogates |
PrivateUseArea |
CJKCompatibilityIdeographs |
AlphabeticPresentationForms |
ArabicPresentationFormsA |
CombiningHalfMarks |
CJKCompatibilityForms |
SmallFormVariants |
ArabicPresentationFormsB |
Specials |
HalfwidthAndFullwidthForms |
OldItalic |
Gothic |
Deseret |
ByzantineMusicalSymbols |
MusicalSymbols |
MathematicalAlphanumericSymbols |
CJKUnifiedIdeographsExtensionB |
CJKCompatibilityIdeographsSupplement |
Tags |
CyrillicSupplement |
Tagalog |
Hanunoo |
Buhid |
Tagbanwa |
MiscellaneousMathematicalSymbolsA |
SupplementalArrowsA |
SupplementalArrowsB |
MiscellaneousMathematicalSymbolsB |
SupplementalMathematicalOperators |
KatakanaPhoneticExtensions |
VariationSelectors |
SupplementaryPrivateUseAreaA |
SupplementaryPrivateUseAreaB |
Limbu |
TaiLe |
KhmerSymbols |
PhoneticExtensions |
MiscellaneousSymbolsAndArrows |
YijingHexagramSymbols |
LinearBSyllabary |
LinearBIdeograms |
AegeanNumbers |
Ugaritic |
Shavian |
Osmanya |
CypriotSyllabary |
TaiXuanJingSymbols |
VariationSelectorsSupplement |
AncientGreekMusicalNotation |
AncientGreekNumbers |
ArabicSupplement |
Buginese |
CJKStrokes |
CombiningDiacriticalMarksSupplement |
Coptic |
EthiopicExtended |
EthiopicSupplement |
GeorgianSupplement |
Glagolitic |
Kharoshthi |
ModifierToneLetters |
NewTaiLue |
OldPersian |
PhoneticExtensionsSupplement |
SupplementalPunctuation |
SylotiNagri |
Tifinagh |
VerticalForms |
N'Ko |
Balinese |
LatinExtendedC |
LatinExtendedD |
PhagsPa |
Phoenician |
Cuneiform |
CuneiformNumbersAndPunctuation |
CountingRodNumerals |
Sundanese |
Lepcha |
OlChiki |
CyrillicExtendedA |
Vai |
CyrillicExtendedB |
Saurashtra |
KayahLi |
Rejang |
Cham |
AncientSymbols |
PhaistosDisc |
Lycian |
Carian |
Lydian |
MahjongTiles |
DominoTiles |
Samaritan |
UnifiedCanadianAboriginalSyllabicsExtended |
TaiTham |
VedicExtensions |
Lisu |
Bamum |
CommonIndicNumberForms |
DevanagariExtended |
HangulJamoExtendedA |
Javanese |
MyanmarExtendedA |
TaiViet |
MeeteiMayek |
HangulJamoExtendedB |
ImperialAramaic |
OldSouthArabian |
Avestan |
InscriptionalParthian |
InscriptionalPahlavi |
OldTurkic |
RumiNumeralSymbols |
Kaithi |
EgyptianHieroglyphs |
EnclosedAlphanumericSupplement |
EnclosedIdeographicSupplement |
CJKUnifiedIdeographsExtensionC |
Mandaic |
Batak |
EthiopicExtendedA |
Brahmi |
BamumSupplement |
KanaSupplement |
PlayingCards |
MiscellaneousSymbolsAndPictographs |
Emoticons |
TransportAndMapSymbols |
AlchemicalSymbols |
CJKUnifiedIdeographsExtensionD |
ArabicExtendedA |
ArabicMathematicalAlphabeticSymbols |
Chakma |
MeeteiMayekExtensions |
MeroiticCursive |
MeroiticHieroglyphs |
Miao |
Sharada |
SoraSompeng |
SundaneseSupplement |
Takri |
BassaVah |
CaucasianAlbanian |
CopticEpactNumbers |
CombiningDiacriticalMarksExtended |
Duployan |
Elbasan |
GeometricShapesExtended |
Grantha |
Khojki |
Khudawadi |
LatinExtendedE |
LinearA |
Mahajani |
Manichaean |
MendeKikakui |
Modi |
Mro |
MyanmarExtendedB |
Nabataean |
OldNorthArabian |
OldPermic |
OrnamentalDingbats |
PahawhHmong |
Palmyrene |
PauCinHau |
PsalterPahlavi |
ShorthandFormatControls |
Siddham |
SinhalaArchaicNumbers |
SupplementalArrowsC |
Tirhuta |
WarangCiti |
Ahom |
AnatolianHieroglyphs |
CherokeeSupplement |
CJKUnifiedIdeographsExtensionE |
EarlyDynasticCuneiform |
Hatran |
Multani |
OldHungarian |
SupplementalSymbolsAndPictographs |
SuttonSignwriting |

#### Instances

Instances details

Bounded BlockCode # |
Instance details Defined in Data.Text.ICU.Char Methods minBound :: BlockCode # maxBound :: BlockCode #
Enum BlockCode # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: BlockCode -> BlockCode # pred :: BlockCode -> BlockCode # toEnum :: Int -> BlockCode # fromEnum :: BlockCode -> Int # enumFrom :: BlockCode -> [BlockCode] # enumFromThen :: BlockCode -> BlockCode -> [BlockCode] # enumFromTo :: BlockCode -> BlockCode -> [BlockCode] # enumFromThenTo :: BlockCode -> BlockCode -> BlockCode -> [BlockCode] #
Eq BlockCode # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: BlockCode -> BlockCode -> Bool # (/=) :: BlockCode -> BlockCode -> Bool #
Show BlockCode # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> BlockCode -> ShowS # show :: BlockCode -> String # showList :: [BlockCode] -> ShowS #
NFData BlockCode # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: BlockCode -> () #
Property Block_ BlockCode # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: Block_ -> Int32 -> BlockCode toUProperty :: Block_ -> UProperty

data Direction #

The language directional property of a character set.

Constructors

LeftToRight |
RightToLeft |
EuropeanNumber |
EuropeanNumberSeparator |
EuropeanNumberTerminator |
ArabicNumber |
CommonNumberSeparator |
BlockSeparator |
SegmentSeparator |
WhiteSpaceNeutral |
OtherNeutral |
LeftToRightEmbedding |
LeftToRightOverride |
RightToLeftArabic |
RightToLeftEmbedding |
RightToLeftOverride |
PopDirectionalFormat |
DirNonSpacingMark |
BoundaryNeutral |

#### Instances

Instances details

Enum Direction # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: Direction -> Direction # pred :: Direction -> Direction # toEnum :: Int -> Direction # fromEnum :: Direction -> Int # enumFrom :: Direction -> [Direction] # enumFromThen :: Direction -> Direction -> [Direction] # enumFromTo :: Direction -> Direction -> [Direction] # enumFromThenTo :: Direction -> Direction -> Direction -> [Direction] #
Eq Direction # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: Direction -> Direction -> Bool # (/=) :: Direction -> Direction -> Bool #
Show Direction # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> Direction -> ShowS # show :: Direction -> String # showList :: [Direction] -> ShowS #
NFData Direction # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: Direction -> () #
Property BidiClass_ Direction # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: BidiClass_ -> Int32 -> Direction toUProperty :: BidiClass_ -> UProperty

data Decomposition #

Constructors

Canonical |
Compat |
Circle |
Final |
Font |
Fraction |
Initial |
Isolated |
Medial |
Narrow |
NoBreak |
Small |
Square |
Sub |
Super |
Vertical |
Wide |
Count |

#### Instances

Instances details

Enum Decomposition # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: Decomposition -> Decomposition # pred :: Decomposition -> Decomposition # toEnum :: Int -> Decomposition # fromEnum :: Decomposition -> Int # enumFrom :: Decomposition -> [Decomposition] # enumFromThen :: Decomposition -> Decomposition -> [Decomposition] # enumFromTo :: Decomposition -> Decomposition -> [Decomposition] # enumFromThenTo :: Decomposition -> Decomposition -> Decomposition -> [Decomposition] #
Eq Decomposition # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: Decomposition -> Decomposition -> Bool # (/=) :: Decomposition -> Decomposition -> Bool #
Show Decomposition # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> Decomposition -> ShowS # show :: Decomposition -> String # showList :: [Decomposition] -> ShowS #
NFData Decomposition # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: Decomposition -> () #
Property Decomposition_ (Maybe Decomposition) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: Decomposition_ -> Int32 -> Maybe Decomposition toUProperty :: Decomposition_ -> UProperty

data EastAsianWidth #

Constructors

EANeutral |
EAAmbiguous |
EAHalf |
EAFull |
EANarrow |
EAWide |
EACount |

#### Instances

Instances details

Enum EastAsianWidth # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: EastAsianWidth -> EastAsianWidth # pred :: EastAsianWidth -> EastAsianWidth # toEnum :: Int -> EastAsianWidth # fromEnum :: EastAsianWidth -> Int # enumFrom :: EastAsianWidth -> [EastAsianWidth] # enumFromThen :: EastAsianWidth -> EastAsianWidth -> [EastAsianWidth] # enumFromTo :: EastAsianWidth -> EastAsianWidth -> [EastAsianWidth] # enumFromThenTo :: EastAsianWidth -> EastAsianWidth -> EastAsianWidth -> [EastAsianWidth] #
Eq EastAsianWidth # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: EastAsianWidth -> EastAsianWidth -> Bool # (/=) :: EastAsianWidth -> EastAsianWidth -> Bool #
Show EastAsianWidth # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> EastAsianWidth -> ShowS # show :: EastAsianWidth -> String # showList :: [EastAsianWidth] -> ShowS #
NFData EastAsianWidth # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: EastAsianWidth -> () #
Property EastAsianWidth_ EastAsianWidth # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: EastAsianWidth_ -> Int32 -> EastAsianWidth toUProperty :: EastAsianWidth_ -> UProperty

data GeneralCategory #

Constructors

GeneralOtherType |
UppercaseLetter |
LowercaseLetter |
TitlecaseLetter |
ModifierLetter |
OtherLetter |
NonSpacingMark |
EnclosingMark |
CombiningSpacingMark |
DecimalDigitNumber |
LetterNumber |
OtherNumber |
SpaceSeparator |
LineSeparator |
ParagraphSeparator |
ControlChar |
FormatChar |
PrivateUseChar |
Surrogate |
DashPunctuation |
StartPunctuation |
EndPunctuation |
ConnectorPunctuation |
OtherPunctuation |
MathSymbol |
CurrencySymbol |
ModifierSymbol |
OtherSymbol |
InitialPunctuation |
FinalPunctuation |

#### Instances

Instances details

Enum GeneralCategory # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: GeneralCategory -> GeneralCategory # pred :: GeneralCategory -> GeneralCategory # toEnum :: Int -> GeneralCategory # fromEnum :: GeneralCategory -> Int # enumFrom :: GeneralCategory -> [GeneralCategory] # enumFromThen :: GeneralCategory -> GeneralCategory -> [GeneralCategory] # enumFromTo :: GeneralCategory -> GeneralCategory -> [GeneralCategory] # enumFromThenTo :: GeneralCategory -> GeneralCategory -> GeneralCategory -> [GeneralCategory] #
Eq GeneralCategory # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: GeneralCategory -> GeneralCategory -> Bool # (/=) :: GeneralCategory -> GeneralCategory -> Bool #
Show GeneralCategory # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> GeneralCategory -> ShowS # show :: GeneralCategory -> String # showList :: [GeneralCategory] -> ShowS #
NFData GeneralCategory # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: GeneralCategory -> () #
Property GeneralCategory_ GeneralCategory # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: GeneralCategory_ -> Int32 -> GeneralCategory toUProperty :: GeneralCategory_ -> UProperty

data HangulSyllableType #

Constructors

LeadingJamo |
VowelJamo |
TrailingJamo |
LVSyllable |
LVTSyllable |

#### Instances

Instances details

Enum HangulSyllableType # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: HangulSyllableType -> HangulSyllableType # pred :: HangulSyllableType -> HangulSyllableType # toEnum :: Int -> HangulSyllableType # fromEnum :: HangulSyllableType -> Int # enumFrom :: HangulSyllableType -> [HangulSyllableType] # enumFromThen :: HangulSyllableType -> HangulSyllableType -> [HangulSyllableType] # enumFromTo :: HangulSyllableType -> HangulSyllableType -> [HangulSyllableType] # enumFromThenTo :: HangulSyllableType -> HangulSyllableType -> HangulSyllableType -> [HangulSyllableType] #
Eq HangulSyllableType # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: HangulSyllableType -> HangulSyllableType -> Bool # (/=) :: HangulSyllableType -> HangulSyllableType -> Bool #
Show HangulSyllableType # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> HangulSyllableType -> ShowS # show :: HangulSyllableType -> String # showList :: [HangulSyllableType] -> ShowS #
NFData HangulSyllableType # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: HangulSyllableType -> () #
Property HangulSyllableType_ (Maybe HangulSyllableType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: HangulSyllableType_ -> Int32 -> Maybe HangulSyllableType toUProperty :: HangulSyllableType_ -> UProperty

data JoiningGroup #

Constructors

Ain |
Alaph |
Alef |
Beh |
Beth |
Dal |
DalathRish |
E |
Feh |
FinalSemkath |
Gaf |
Gamal |
Hah |
HamzaOnHehGoal |
He |
Heh |
HehGoal |
Heth |
Kaf |
Kaph |
KnottedHeh |
Lam |
Lamadh |
Meem |
Mim |
Noon |
Nun |
Pe |
Qaf |
Qaph |
Reh |
ReversedPe |
Sad |
Sadhe |
Seen |
Semkath |
Shin |
SwashKaf |
SyriacWaw |
Tah |
Taw |
TehMarbuta |
Teth |
Waw |
Yeh |
YehBarree |
YehWithTail |
Yudh |
YudhHe |
Zain |
Fe |
Khaph |
Zhain |
BurushaskiYehBarree |
FarsiYeh |
Nya |
RohingyaYeh |
ManichaeanAleph |
ManichaeanAyin |
ManichaeanBeth |
ManichaeanDaleth |
ManichaeanDhamedh |
ManichaeanFive |
ManichaeanGimel |
ManichaeanHeth |
ManichaeanHundred |
ManichaeanKaph |
ManichaeanLamedh |
ManichaeanMem |
ManichaeanNun |
ManichaeanOne |
ManichaeanPe |
ManichaeanQoph |
ManichaeanResh |
ManichaeanSadhe |
ManichaeanSamekh |
ManichaeanTaw |
ManichaeanTen |
ManichaeanTeth |
ManichaeanThamedh |
ManichaeanTwenty |
ManichaeanWaw |
ManichaeanYodh |
ManichaeanZayin |
StraightWaw |

#### Instances

Instances details

Enum JoiningGroup # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: JoiningGroup -> JoiningGroup # pred :: JoiningGroup -> JoiningGroup # toEnum :: Int -> JoiningGroup # fromEnum :: JoiningGroup -> Int # enumFrom :: JoiningGroup -> [JoiningGroup] # enumFromThen :: JoiningGroup -> JoiningGroup -> [JoiningGroup] # enumFromTo :: JoiningGroup -> JoiningGroup -> [JoiningGroup] # enumFromThenTo :: JoiningGroup -> JoiningGroup -> JoiningGroup -> [JoiningGroup] #
Eq JoiningGroup # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: JoiningGroup -> JoiningGroup -> Bool # (/=) :: JoiningGroup -> JoiningGroup -> Bool #
Show JoiningGroup # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> JoiningGroup -> ShowS # show :: JoiningGroup -> String # showList :: [JoiningGroup] -> ShowS #
NFData JoiningGroup # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: JoiningGroup -> () #
Property JoiningGroup_ (Maybe JoiningGroup) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: JoiningGroup_ -> Int32 -> Maybe JoiningGroup toUProperty :: JoiningGroup_ -> UProperty

data JoiningType #

Constructors

JoinCausing |
DualJoining |
LeftJoining |
RightJoining |
Transparent |

#### Instances

Instances details

Enum JoiningType # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: JoiningType -> JoiningType # pred :: JoiningType -> JoiningType # toEnum :: Int -> JoiningType # fromEnum :: JoiningType -> Int # enumFrom :: JoiningType -> [JoiningType] # enumFromThen :: JoiningType -> JoiningType -> [JoiningType] # enumFromTo :: JoiningType -> JoiningType -> [JoiningType] # enumFromThenTo :: JoiningType -> JoiningType -> JoiningType -> [JoiningType] #
Eq JoiningType # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: JoiningType -> JoiningType -> Bool # (/=) :: JoiningType -> JoiningType -> Bool #
Show JoiningType # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> JoiningType -> ShowS # show :: JoiningType -> String # showList :: [JoiningType] -> ShowS #
NFData JoiningType # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: JoiningType -> () #
Property JoiningType_ (Maybe JoiningType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: JoiningType_ -> Int32 -> Maybe JoiningType toUProperty :: JoiningType_ -> UProperty

data NumericType #

Constructors

NTDecimal |
NTDigit |
NTNumeric |

#### Instances

Instances details

Enum NumericType # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: NumericType -> NumericType # pred :: NumericType -> NumericType # toEnum :: Int -> NumericType # fromEnum :: NumericType -> Int # enumFrom :: NumericType -> [NumericType] # enumFromThen :: NumericType -> NumericType -> [NumericType] # enumFromTo :: NumericType -> NumericType -> [NumericType] # enumFromThenTo :: NumericType -> NumericType -> NumericType -> [NumericType] #
Eq NumericType # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: NumericType -> NumericType -> Bool # (/=) :: NumericType -> NumericType -> Bool #
Show NumericType # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> NumericType -> ShowS # show :: NumericType -> String # showList :: [NumericType] -> ShowS #
NFData NumericType # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: NumericType -> () #
Property NumericType_ (Maybe NumericType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: NumericType_ -> Int32 -> Maybe NumericType toUProperty :: NumericType_ -> UProperty

## Text boundaries

data GraphemeClusterBreak #

Constructors

Control |
CR |
Extend |
L |
LF |
LV |
LVT |
T |
V |
SpacingMark |
Prepend |

#### Instances

Instances details

Enum GraphemeClusterBreak # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: GraphemeClusterBreak -> GraphemeClusterBreak # pred :: GraphemeClusterBreak -> GraphemeClusterBreak # toEnum :: Int -> GraphemeClusterBreak # fromEnum :: GraphemeClusterBreak -> Int # enumFrom :: GraphemeClusterBreak -> [GraphemeClusterBreak] # enumFromThen :: GraphemeClusterBreak -> GraphemeClusterBreak -> [GraphemeClusterBreak] # enumFromTo :: GraphemeClusterBreak -> GraphemeClusterBreak -> [GraphemeClusterBreak] # enumFromThenTo :: GraphemeClusterBreak -> GraphemeClusterBreak -> GraphemeClusterBreak -> [GraphemeClusterBreak] #
Eq GraphemeClusterBreak # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: GraphemeClusterBreak -> GraphemeClusterBreak -> Bool # (/=) :: GraphemeClusterBreak -> GraphemeClusterBreak -> Bool #
Show GraphemeClusterBreak # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> GraphemeClusterBreak -> ShowS # show :: GraphemeClusterBreak -> String # showList :: [GraphemeClusterBreak] -> ShowS #
NFData GraphemeClusterBreak # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: GraphemeClusterBreak -> () #
Property GraphemeClusterBreak_ (Maybe GraphemeClusterBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: GraphemeClusterBreak_ -> Int32 -> Maybe GraphemeClusterBreak toUProperty :: GraphemeClusterBreak_ -> UProperty

data LineBreak #

Constructors

Ambiguous |
LBAlphabetic |
BreakBoth |
BreakAfter |
BreakBefore |
MandatoryBreak |
ContingentBreak |
ClosePunctuation |
CombiningMark |
CarriageReturn |
Exclamation |
Glue |
LBHyphen |
LBIdeographic |
Inseparable |
InfixNumeric |
LineFeed |
Nonstarter |
Numeric |
OpenPunctuation |
PostfixNumeric |
PrefixNumeric |
Quotation |
ComplexContext |
LBSurrogate |
Space |
BreakSymbols |
Zwspace |
NextLine |
WordJoiner |
H2 |
H3 |
JL |
JT |
JV |
CloseParenthesis |
ConditionalJapaneseStarter |
LBHebrewLetter |
LBRegionalIndicator |

#### Instances

Instances details

Enum LineBreak # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: LineBreak -> LineBreak # pred :: LineBreak -> LineBreak # toEnum :: Int -> LineBreak # fromEnum :: LineBreak -> Int # enumFrom :: LineBreak -> [LineBreak] # enumFromThen :: LineBreak -> LineBreak -> [LineBreak] # enumFromTo :: LineBreak -> LineBreak -> [LineBreak] # enumFromThenTo :: LineBreak -> LineBreak -> LineBreak -> [LineBreak] #
Eq LineBreak # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: LineBreak -> LineBreak -> Bool # (/=) :: LineBreak -> LineBreak -> Bool #
Show LineBreak # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> LineBreak -> ShowS # show :: LineBreak -> String # showList :: [LineBreak] -> ShowS #
NFData LineBreak # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: LineBreak -> () #
Property LineBreak_ (Maybe LineBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: LineBreak_ -> Int32 -> Maybe LineBreak toUProperty :: LineBreak_ -> UProperty

data SentenceBreak #

Constructors

SBATerm |
SBClose |
SBFormat |
SBLower |
SBNumeric |
SBOLetter |
SBSep |
SBSP |
SBSTerm |
SBUpper |
SBCR |
SBExtend |
SBLF |
SBSContinue |

#### Instances

Instances details

Enum SentenceBreak # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: SentenceBreak -> SentenceBreak # pred :: SentenceBreak -> SentenceBreak # toEnum :: Int -> SentenceBreak # fromEnum :: SentenceBreak -> Int # enumFrom :: SentenceBreak -> [SentenceBreak] # enumFromThen :: SentenceBreak -> SentenceBreak -> [SentenceBreak] # enumFromTo :: SentenceBreak -> SentenceBreak -> [SentenceBreak] # enumFromThenTo :: SentenceBreak -> SentenceBreak -> SentenceBreak -> [SentenceBreak] #
Eq SentenceBreak # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: SentenceBreak -> SentenceBreak -> Bool # (/=) :: SentenceBreak -> SentenceBreak -> Bool #
Show SentenceBreak # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> SentenceBreak -> ShowS # show :: SentenceBreak -> String # showList :: [SentenceBreak] -> ShowS #
NFData SentenceBreak # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: SentenceBreak -> () #
Property SentenceBreak_ (Maybe SentenceBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: SentenceBreak_ -> Int32 -> Maybe SentenceBreak toUProperty :: SentenceBreak_ -> UProperty

data WordBreak #

Constructors

WBALetter |
WBFormat |
WBKatakana |
WBMidLetter |
WBMidNum |
WBNumeric |
WBExtendNumLet |
WBCR |
WBExtend |
WBLF |
WBMidNumLet |
WBNewline |
RegionalIndicator |
HebrewLetter |
SingleQuote |
DoubleQuote |

#### Instances

Instances details

Enum WordBreak # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: WordBreak -> WordBreak # pred :: WordBreak -> WordBreak # toEnum :: Int -> WordBreak # fromEnum :: WordBreak -> Int # enumFrom :: WordBreak -> [WordBreak] # enumFromThen :: WordBreak -> WordBreak -> [WordBreak] # enumFromTo :: WordBreak -> WordBreak -> [WordBreak] # enumFromThenTo :: WordBreak -> WordBreak -> WordBreak -> [WordBreak] #
Eq WordBreak # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: WordBreak -> WordBreak -> Bool # (/=) :: WordBreak -> WordBreak -> Bool #
Show WordBreak # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> WordBreak -> ShowS # show :: WordBreak -> String # showList :: [WordBreak] -> ShowS #
NFData WordBreak # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: WordBreak -> () #
Property WordBreak_ (Maybe WordBreak) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: WordBreak_ -> Int32 -> Maybe WordBreak toUProperty :: WordBreak_ -> UProperty

data BidiPairedBracketType #

Constructors

BPTNone |
BPTOpen |
BPTClose |

#### Instances

Instances details

Enum BidiPairedBracketType # |
Instance details Defined in Data.Text.ICU.Char Methods succ :: BidiPairedBracketType -> BidiPairedBracketType # pred :: BidiPairedBracketType -> BidiPairedBracketType # toEnum :: Int -> BidiPairedBracketType # fromEnum :: BidiPairedBracketType -> Int # enumFrom :: BidiPairedBracketType -> [BidiPairedBracketType] # enumFromThen :: BidiPairedBracketType -> BidiPairedBracketType -> [BidiPairedBracketType] # enumFromTo :: BidiPairedBracketType -> BidiPairedBracketType -> [BidiPairedBracketType] # enumFromThenTo :: BidiPairedBracketType -> BidiPairedBracketType -> BidiPairedBracketType -> [BidiPairedBracketType] #
Eq BidiPairedBracketType # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: BidiPairedBracketType -> BidiPairedBracketType -> Bool # (/=) :: BidiPairedBracketType -> BidiPairedBracketType -> Bool #
Show BidiPairedBracketType # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> BidiPairedBracketType -> ShowS # show :: BidiPairedBracketType -> String # showList :: [BidiPairedBracketType] -> ShowS #
NFData BidiPairedBracketType # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: BidiPairedBracketType -> () #
Property BidiPairedBracketType_ (Maybe BidiPairedBracketType) # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: BidiPairedBracketType_ -> Int32 -> Maybe BidiPairedBracketType toUProperty :: BidiPairedBracketType_ -> UProperty

# Functions

blockCode :: Char -> BlockCode #

Return the Unicode allocation block that contains the given character.

charFullName :: Char -> String #

Return the full name of a Unicode character.

Compared to `charName`, this function gives each Unicode code point a unique extended name. Extended names are lowercase followed by an uppercase hexadecimal number, within angle brackets.

charName :: Char -> String #

Return the name of a Unicode character.

The names of all unassigned characters are empty.

The name contains only "invariant" characters like A-Z, 0-9, space, and '-'.

charFromFullName :: String -> Maybe Char #

Find a Unicode character by its full or extended name, and return its code point value.

The name is matched exactly and completely.

A Unicode 1.0 name is matched only if it differs from the modern name.

Compared to `charFromName`, this function gives each Unicode code point a unique extended name. Extended names are lowercase followed by an uppercase hexadecimal number, within angle brackets.

charFromName :: String -> Maybe Char #

Find a Unicode character by its full name, and return its code point value.

The name is matched exactly and completely.

A Unicode 1.0 name is matched only if it differs from the modern name. Unicode names are all uppercase.

combiningClass :: Char -> Int #

direction :: Char -> Direction #

Return the bidirectional category value for the code point, which is used in the Unicode bidirectional algorithm (UAX #9 http://www.unicode.org/reports/tr9/).

property :: Property p v => p -> Char -> v #

isMirrored :: Char -> Bool #

Determine whether the code point has the `BidiMirrored` property. This property is set for characters that are commonly used in Right-To-Left contexts and need to be displayed with a "mirrored" glyph.

mirror :: Char -> Char #

## Conversion to numbers

digitToInt :: Char -> Maybe Int #

Return the decimal digit value of a decimal digit character. Such characters have the general category `Nd` (decimal digit numbers) and a `NumericType` of `NTDecimal`.

No digit values are returned for any Han characters, because Han number characters are often used with a special Chinese-style number format (with characters for powers of 10 in between) instead of in decimal-positional notation. Unicode 4 explicitly assigns Han number characters a `NumericType` of `NTNumeric` instead of `NTDecimal`.

numericValue :: Char -> Maybe Double #

Return the numeric value for a Unicode code point as defined in the Unicode Character Database.

A `Double` return type is necessary because some numeric values are fractions, negative, or too large to fit in a fixed-width integral type.