text-icu-0.8.0.5: 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 codepoint (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
  - | Emoji
  - | EmojiPresentation
  - | EmojiModifier
  - | EmojiModifierBase
  - | EmojiComponent
  - | RegionalIndicator
  - | PrependedConcatenationMark
  - | ExtendedPictographic
  - | BasicEmoji
  - | EmojiKeycapSequence
  - | RgiEmojiModifierSequence
  - | RgiEmojiFlagSequence
  - | RgiEmojiTagSequence
  - | RgiEmojiZwjSequence
  - | RgiEmoji
- 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
  - | Adlam
  - | Bhaiksuki
  - | CyrillicExtendedC
  - | GlagoliticSupplement
  - | IdeographicSymbolsAndPunctuation
  - | Marchen
  - | MongolianSupplement
  - | Newa
  - | Osage
  - | Tangut
  - | TangutComponents
  - | CjkUnifiedIdeographsExtensionF
  - | KanaExtendedA
  - | MasaramGondi
  - | Nushu
  - | Soyombo
  - | SyriacSupplement
  - | ZanabazarSquare
  - | ChessSymbols
  - | Dogra
  - | GeorgianExtended
  - | GunjalaGondi
  - | HanifiRohingya
  - | IndicSiyaqNumbers
  - | Makasar
  - | MayanNumerals
  - | Medefaidrin
  - | OldSogdian
  - | Sogdian
  - | EgyptianHieroglyphFormatControls
  - | Elymaic
  - | Nandinagari
  - | NyiakengPuachueHmong
  - | OttomanSiyaqNumbers
  - | SmallKanaExtension
  - | SymbolsAndPictographsExtendedA
  - | TamilSupplement
  - | Wancho
  - | Chorasmian
  - | CjkUnifiedIdeographsExtensionG
  - | DivesAkuru
  - | KhitanSmallScript
  - | LisuSupplement
  - | SymbolsForLegacyComputing
  - | TangutSupplement
  - | Yezidi
  - | ArabicExtendedB
  - | CyproMinoan
  - | EthiopicExtendedB
  - | KanaExtendedB
  - | LatinExtendedF
  - | LatinExtendedG
  - | OldUyghur
  - | Tangsa
  - | Toto
  - | UnifiedCanadianAboriginalSyllabicsExtendedA
  - | Vithkuqi
  - | ZnamennyMusicalNotation
  - | ArabicExtendedC
  - | CjkUnifiedIdeographsExtensionH
  - | CyrillicExtendedD
  - | DevanagariExtendedA
  - | KaktovikNumerals
  - | Kawi
  - | NagMundari
- data Direction
  - = LeftToRight
  - | RightToLeft
  - | EuropeanNumber
  - | EuropeanNumberSeparator
  - | EuropeanNumberTerminator
  - | ArabicNumber
  - | CommonNumberSeparator
  - | BlockSeparator
  - | SegmentSeparator
  - | WhiteSpaceNeutral
  - | OtherNeutral
  - | LeftToRightEmbedding
  - | LeftToRightOverride
  - | RightToLeftArabic
  - | RightToLeftEmbedding
  - | RightToLeftOverride
  - | PopDirectionalFormat
  - | DirNonSpacingMark
  - | BoundaryNeutral
  - | FirstStrongIsolate
  - | LeftToRightIsolate
  - | RightToLeftIsolate
  - | PopDirectionalIsolate
- 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
  - = GCBControl
  - | GCBCR
  - | GCBExtend
  - | GCBL
  - | GCBLF
  - | GCBLV
  - | GCBLVT
  - | GCBT
  - | GCBV
  - | GCBSpacingMark
  - | GCBPrepend
  - | GCBRegionalIndicator
  - | GCBEBase
  - | GCBEBaseGAZ
  - | GCBEModifier
  - | GCBGlueAfterZWJ
  - | GCBZWJ
- 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
  - | EBase
  - | EModifier
  - | ZWJ
- 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
  - | WBRegionalIndicator
  - | WBHebrewLetter
  - | WBSingleQuote
  - | WBDoubleQuote
- 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 Source #

Minimal complete definition

fromNative, toUProperty

#### Instances

Instances details

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

# Property identifier types

data BidiClass_ Source #

Constructors

BidiClass |

#### Instances

Instances details

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

data Block_ Source #

Constructors

Block |

#### Instances

Instances details

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

data Bool_ Source #

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 |
Emoji | See http://www.unicode.org/reports/tr51/#Emoji_Properties
EmojiPresentation | See http://www.unicode.org/reports/tr51/#Emoji_Properties
EmojiModifier | See http://www.unicode.org/reports/tr51/#Emoji_Properties
EmojiModifierBase | See http://www.unicode.org/reports/tr51/#Emoji_Properties
EmojiComponent | See http://www.unicode.org/reports/tr51/#Emoji_Properties
RegionalIndicator |
PrependedConcatenationMark |
ExtendedPictographic |
BasicEmoji | See https://www.unicode.org/reports/tr51/#Emoji_Sets
EmojiKeycapSequence | See https://www.unicode.org/reports/tr51/#Emoji_Sets
RgiEmojiModifierSequence | See https://www.unicode.org/reports/tr51/#Emoji_Sets
RgiEmojiFlagSequence | See https://www.unicode.org/reports/tr51/#Emoji_Sets
RgiEmojiTagSequence | See https://www.unicode.org/reports/tr51/#Emoji_Sets
RgiEmojiZwjSequence | See https://www.unicode.org/reports/tr51/#Emoji_Sets
RgiEmoji | See https://www.unicode.org/reports/tr51/#Emoji_Sets

#### Instances

Instances details

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

data Decomposition_ Source #

Constructors

Decomposition |

#### Instances

Instances details

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

data EastAsianWidth_ Source #

Constructors

EastAsianWidth |

#### Instances

Instances details

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

data GeneralCategory_ Source #

Constructors

GeneralCategory |

#### Instances

Instances details

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

data HangulSyllableType_ Source #

Constructors

HangulSyllableType |

#### Instances

Instances details

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

data JoiningGroup_ Source #

Constructors

JoiningGroup |

#### Instances

Instances details

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

data JoiningType_ Source #

Constructors

JoiningType |

#### Instances

Instances details

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

data NumericType_ Source #

Constructors

NumericType |

#### Instances

Instances details

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

## Combining class

data CanonicalCombiningClass_ Source #

Constructors

CanonicalCombiningClass |

#### Instances

Instances details

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

data LeadCanonicalCombiningClass_ Source #

Constructors

LeadCanonicalCombiningClass |

#### Instances

Instances details

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

data TrailingCanonicalCombiningClass_ Source #

Constructors

TrailingCanonicalCombiningClass |

#### Instances

Instances details

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

## Normalization checking

data NFCQuickCheck_ Source #

Constructors

NFCQuickCheck |

#### Instances

Instances details

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

data NFDQuickCheck_ Source #

Constructors

NFDQuickCheck |

#### Instances

Instances details

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

data NFKCQuickCheck_ Source #

Constructors

NFKCQuickCheck |

#### Instances

Instances details

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

data NFKDQuickCheck_ Source #

Constructors

NFKDQuickCheck |

#### Instances

Instances details

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

## Text boundaries

data GraphemeClusterBreak_ Source #

Constructors

GraphemeClusterBreak |

#### Instances

Instances details

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

data LineBreak_ Source #

Constructors

LineBreak |

#### Instances

Instances details

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

data SentenceBreak_ Source #

Constructors

SentenceBreak |

#### Instances

Instances details

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

data WordBreak_ Source #

Constructors

WordBreak |

#### Instances

Instances details

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

data BidiPairedBracketType_ Source #

Constructors

BidiPairedBracketType |

#### Instances

Instances details

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

# Property value types

data BlockCode Source #

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 |
Adlam |
Bhaiksuki |
CyrillicExtendedC |
GlagoliticSupplement |
IdeographicSymbolsAndPunctuation |
Marchen |
MongolianSupplement |
Newa |
Osage |
Tangut |
TangutComponents |
CjkUnifiedIdeographsExtensionF |
KanaExtendedA |
MasaramGondi |
Nushu |
Soyombo |
SyriacSupplement |
ZanabazarSquare |
ChessSymbols |
Dogra |
GeorgianExtended |
GunjalaGondi |
HanifiRohingya |
IndicSiyaqNumbers |
Makasar |
MayanNumerals |
Medefaidrin |
OldSogdian |
Sogdian |
EgyptianHieroglyphFormatControls |
Elymaic |
Nandinagari |
NyiakengPuachueHmong |
OttomanSiyaqNumbers |
SmallKanaExtension |
SymbolsAndPictographsExtendedA |
TamilSupplement |
Wancho |
Chorasmian |
CjkUnifiedIdeographsExtensionG |
DivesAkuru |
KhitanSmallScript |
LisuSupplement |
SymbolsForLegacyComputing |
TangutSupplement |
Yezidi |
ArabicExtendedB |
CyproMinoan |
EthiopicExtendedB |
KanaExtendedB |
LatinExtendedF |
LatinExtendedG |
OldUyghur |
Tangsa |
Toto |
UnifiedCanadianAboriginalSyllabicsExtendedA |
Vithkuqi |
ZnamennyMusicalNotation |
ArabicExtendedC |
CjkUnifiedIdeographsExtensionH |
CyrillicExtendedD |
DevanagariExtendedA |
KaktovikNumerals |
Kawi |
NagMundari |

#### Instances

Instances details

NFData BlockCode Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: BlockCode -> () Source #
Bounded BlockCode Source # |
Instance details Defined in Data.Text.ICU.Char Methods minBound :: BlockCode Source # maxBound :: BlockCode Source #
Enum BlockCode Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: BlockCode -> BlockCode Source #

pred :: BlockCode -> BlockCode Source #

toEnum :: Int -> BlockCode Source #

fromEnum :: BlockCode -> Int Source #

enumFrom :: BlockCode -> [BlockCode] Source #

enumFromThen :: BlockCode -> BlockCode -> [BlockCode] Source #

enumFromTo :: BlockCode -> BlockCode -> [BlockCode] Source #

enumFromThenTo :: BlockCode -> BlockCode -> BlockCode -> [BlockCode] Source #

Show BlockCode Source # |
Instance details Defined in Data.Text.ICU.Char Methods showsPrec :: Int -> BlockCode -> ShowS Source # show :: BlockCode -> String Source # showList :: [BlockCode] -> ShowS Source #
Eq BlockCode Source # |
Instance details Defined in Data.Text.ICU.Char Methods (==) :: BlockCode -> BlockCode -> Bool Source # (/=) :: BlockCode -> BlockCode -> Bool Source #
Property Block_ BlockCode Source # |
Instance details Defined in Data.Text.ICU.Char Methods fromNative :: Block_ -> Int32 -> BlockCode toUProperty :: Block_ -> UProperty

data Direction Source #

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 |
FirstStrongIsolate |
LeftToRightIsolate |
RightToLeftIsolate |
PopDirectionalIsolate |

#### Instances

Instances details

NFData Direction Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: Direction -> () Source #
Enum Direction Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: Direction -> Direction Source #

pred :: Direction -> Direction Source #

toEnum :: Int -> Direction Source #

fromEnum :: Direction -> Int Source #

enumFrom :: Direction -> [Direction] Source #

enumFromThen :: Direction -> Direction -> [Direction] Source #

enumFromTo :: Direction -> Direction -> [Direction] Source #

enumFromThenTo :: Direction -> Direction -> Direction -> [Direction] Source #

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

data Decomposition Source #

Constructors

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

#### Instances

Instances details

NFData Decomposition Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: Decomposition -> () Source #
Enum Decomposition Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: Decomposition -> Decomposition Source #

pred :: Decomposition -> Decomposition Source #

toEnum :: Int -> Decomposition Source #

fromEnum :: Decomposition -> Int Source #

enumFrom :: Decomposition -> [Decomposition] Source #

enumFromThen :: Decomposition -> Decomposition -> [Decomposition] Source #

enumFromTo :: Decomposition -> Decomposition -> [Decomposition] Source #

enumFromThenTo :: Decomposition -> Decomposition -> Decomposition -> [Decomposition] Source #

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

data EastAsianWidth Source #

Constructors

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

#### Instances

Instances details

NFData EastAsianWidth Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: EastAsianWidth -> () Source #
Enum EastAsianWidth Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: EastAsianWidth -> EastAsianWidth Source #

pred :: EastAsianWidth -> EastAsianWidth Source #

toEnum :: Int -> EastAsianWidth Source #

fromEnum :: EastAsianWidth -> Int Source #

enumFrom :: EastAsianWidth -> [EastAsianWidth] Source #

enumFromThen :: EastAsianWidth -> EastAsianWidth -> [EastAsianWidth] Source #

enumFromTo :: EastAsianWidth -> EastAsianWidth -> [EastAsianWidth] Source #

enumFromThenTo :: EastAsianWidth -> EastAsianWidth -> EastAsianWidth -> [EastAsianWidth] Source #

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

data GeneralCategory Source #

Constructors

GeneralOtherType | U_GENERAL_OTHER_TYPES is the same as U_UNASSIGNED
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

NFData GeneralCategory Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: GeneralCategory -> () Source #
Enum GeneralCategory Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: GeneralCategory -> GeneralCategory Source #

pred :: GeneralCategory -> GeneralCategory Source #

toEnum :: Int -> GeneralCategory Source #

fromEnum :: GeneralCategory -> Int Source #

enumFrom :: GeneralCategory -> [GeneralCategory] Source #

enumFromThen :: GeneralCategory -> GeneralCategory -> [GeneralCategory] Source #

enumFromTo :: GeneralCategory -> GeneralCategory -> [GeneralCategory] Source #

enumFromThenTo :: GeneralCategory -> GeneralCategory -> GeneralCategory -> [GeneralCategory] Source #

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

data HangulSyllableType Source #

Constructors

LeadingJamo |
VowelJamo |
TrailingJamo |
LVSyllable |
LVTSyllable |

#### Instances

Instances details

NFData HangulSyllableType Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: HangulSyllableType -> () Source #
Enum HangulSyllableType Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: HangulSyllableType -> HangulSyllableType Source #

pred :: HangulSyllableType -> HangulSyllableType Source #

toEnum :: Int -> HangulSyllableType Source #

fromEnum :: HangulSyllableType -> Int Source #

enumFrom :: HangulSyllableType -> [HangulSyllableType] Source #

enumFromThen :: HangulSyllableType -> HangulSyllableType -> [HangulSyllableType] Source #

enumFromTo :: HangulSyllableType -> HangulSyllableType -> [HangulSyllableType] Source #

enumFromThenTo :: HangulSyllableType -> HangulSyllableType -> HangulSyllableType -> [HangulSyllableType] Source #

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

data JoiningGroup Source #

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

NFData JoiningGroup Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: JoiningGroup -> () Source #
Enum JoiningGroup Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: JoiningGroup -> JoiningGroup Source #

pred :: JoiningGroup -> JoiningGroup Source #

toEnum :: Int -> JoiningGroup Source #

fromEnum :: JoiningGroup -> Int Source #

enumFrom :: JoiningGroup -> [JoiningGroup] Source #

enumFromThen :: JoiningGroup -> JoiningGroup -> [JoiningGroup] Source #

enumFromTo :: JoiningGroup -> JoiningGroup -> [JoiningGroup] Source #

enumFromThenTo :: JoiningGroup -> JoiningGroup -> JoiningGroup -> [JoiningGroup] Source #

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

data JoiningType Source #

Constructors

JoinCausing |
DualJoining |
LeftJoining |
RightJoining |
Transparent |

#### Instances

Instances details

NFData JoiningType Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: JoiningType -> () Source #
Enum JoiningType Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: JoiningType -> JoiningType Source #

pred :: JoiningType -> JoiningType Source #

toEnum :: Int -> JoiningType Source #

fromEnum :: JoiningType -> Int Source #

enumFrom :: JoiningType -> [JoiningType] Source #

enumFromThen :: JoiningType -> JoiningType -> [JoiningType] Source #

enumFromTo :: JoiningType -> JoiningType -> [JoiningType] Source #

enumFromThenTo :: JoiningType -> JoiningType -> JoiningType -> [JoiningType] Source #

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

data NumericType Source #

Constructors

NTDecimal |
NTDigit |
NTNumeric |

#### Instances

Instances details

NFData NumericType Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: NumericType -> () Source #
Enum NumericType Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: NumericType -> NumericType Source #

pred :: NumericType -> NumericType Source #

toEnum :: Int -> NumericType Source #

fromEnum :: NumericType -> Int Source #

enumFrom :: NumericType -> [NumericType] Source #

enumFromThen :: NumericType -> NumericType -> [NumericType] Source #

enumFromTo :: NumericType -> NumericType -> [NumericType] Source #

enumFromThenTo :: NumericType -> NumericType -> NumericType -> [NumericType] Source #

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

## Text boundaries

data GraphemeClusterBreak Source #

Constructors

GCBControl |
GCBCR |
GCBExtend |
GCBL |
GCBLF |
GCBLV |
GCBLVT |
GCBT |
GCBV |
GCBSpacingMark |
GCBPrepend |
GCBRegionalIndicator |
GCBEBase |
GCBEBaseGAZ |
GCBEModifier |
GCBGlueAfterZWJ |
GCBZWJ |

#### Instances

Instances details

NFData GraphemeClusterBreak Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: GraphemeClusterBreak -> () Source #
Enum GraphemeClusterBreak Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: GraphemeClusterBreak -> GraphemeClusterBreak Source #

pred :: GraphemeClusterBreak -> GraphemeClusterBreak Source #

toEnum :: Int -> GraphemeClusterBreak Source #

fromEnum :: GraphemeClusterBreak -> Int Source #

enumFrom :: GraphemeClusterBreak -> [GraphemeClusterBreak] Source #

enumFromThen :: GraphemeClusterBreak -> GraphemeClusterBreak -> [GraphemeClusterBreak] Source #

enumFromTo :: GraphemeClusterBreak -> GraphemeClusterBreak -> [GraphemeClusterBreak] Source #

enumFromThenTo :: GraphemeClusterBreak -> GraphemeClusterBreak -> GraphemeClusterBreak -> [GraphemeClusterBreak] Source #

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

data LineBreak Source #

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 |
EBase |
EModifier |
ZWJ |

#### Instances

Instances details

NFData LineBreak Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: LineBreak -> () Source #
Enum LineBreak Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: LineBreak -> LineBreak Source #

pred :: LineBreak -> LineBreak Source #

toEnum :: Int -> LineBreak Source #

fromEnum :: LineBreak -> Int Source #

enumFrom :: LineBreak -> [LineBreak] Source #

enumFromThen :: LineBreak -> LineBreak -> [LineBreak] Source #

enumFromTo :: LineBreak -> LineBreak -> [LineBreak] Source #

enumFromThenTo :: LineBreak -> LineBreak -> LineBreak -> [LineBreak] Source #

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

data SentenceBreak Source #

Constructors

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

#### Instances

Instances details

NFData SentenceBreak Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: SentenceBreak -> () Source #
Enum SentenceBreak Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: SentenceBreak -> SentenceBreak Source #

pred :: SentenceBreak -> SentenceBreak Source #

toEnum :: Int -> SentenceBreak Source #

fromEnum :: SentenceBreak -> Int Source #

enumFrom :: SentenceBreak -> [SentenceBreak] Source #

enumFromThen :: SentenceBreak -> SentenceBreak -> [SentenceBreak] Source #

enumFromTo :: SentenceBreak -> SentenceBreak -> [SentenceBreak] Source #

enumFromThenTo :: SentenceBreak -> SentenceBreak -> SentenceBreak -> [SentenceBreak] Source #

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

data WordBreak Source #

Constructors

WBALetter |
WBFormat |
WBKatakana |
WBMidLetter |
WBMidNum |
WBNumeric |
WBExtendNumLet |
WBCR |
WBExtend |
WBLF |
WBMidNumLet |
WBNewline |
WBRegionalIndicator |
WBHebrewLetter |
WBSingleQuote |
WBDoubleQuote |

#### Instances

Instances details

NFData WordBreak Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: WordBreak -> () Source #
Enum WordBreak Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: WordBreak -> WordBreak Source #

pred :: WordBreak -> WordBreak Source #

toEnum :: Int -> WordBreak Source #

fromEnum :: WordBreak -> Int Source #

enumFrom :: WordBreak -> [WordBreak] Source #

enumFromThen :: WordBreak -> WordBreak -> [WordBreak] Source #

enumFromTo :: WordBreak -> WordBreak -> [WordBreak] Source #

enumFromThenTo :: WordBreak -> WordBreak -> WordBreak -> [WordBreak] Source #

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

data BidiPairedBracketType Source #

Constructors

BPTNone |
BPTOpen |
BPTClose |

#### Instances

Instances details

NFData BidiPairedBracketType Source # |
Instance details Defined in Data.Text.ICU.Char Methods rnf :: BidiPairedBracketType -> () Source #
Enum BidiPairedBracketType Source # |

Instance details

Defined in Data.Text.ICU.Char

Methods

succ :: BidiPairedBracketType -> BidiPairedBracketType Source #

pred :: BidiPairedBracketType -> BidiPairedBracketType Source #

toEnum :: Int -> BidiPairedBracketType Source #

fromEnum :: BidiPairedBracketType -> Int Source #

enumFrom :: BidiPairedBracketType -> [BidiPairedBracketType] Source #

enumFromThen :: BidiPairedBracketType -> BidiPairedBracketType -> [BidiPairedBracketType] Source #

enumFromTo :: BidiPairedBracketType -> BidiPairedBracketType -> [BidiPairedBracketType] Source #

enumFromThenTo :: BidiPairedBracketType -> BidiPairedBracketType -> BidiPairedBracketType -> [BidiPairedBracketType] Source #

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

# Functions

blockCode :: Char -> BlockCode Source #

Return the Unicode allocation block that contains the given character.

charFullName :: Char -> String Source #

Return the full name of a Unicode character.

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

charName :: Char -> String Source #

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 Source #

Find a Unicode character by its full or extended name, and return its codepoint 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 Source #

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 Source #

direction :: Char -> Direction Source #

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

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

isMirrored :: Char -> Bool Source #

Determine whether the codepoint 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 Source #

## Conversion to numbers

digitToInt :: Char -> Maybe Int Source #

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 Source #

Return the numeric value for a Unicode codepoint 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.