charset-0.3.7.1: Fast unicode character sets based on complemented PATRICIA tries

Copyright | (c) Edward Kmett 2010-2011
License | BSD3
Maintainer | ekmett@gmail.com
Stability | experimental
Portability | portable
Safe Haskell | Safe
Language | Haskell98

Data.CharSet.Unicode.Block

Contents

- Unicode General Category
- Lookup
- CharSets by Block

Description

Provides unicode general categories, which are typically connoted by `p{InBasicLatin}` or `p{InIPA_Extensions}`. Lookups can be constructed using `categories` or individual character sets can be used directly.

Synopsis

- data Block = Block {
  - blockName :: String
  - blockCharSet :: CharSet
  }
- blocks :: [Block]
- lookupBlock :: String -> Maybe Block
- lookupBlockCharSet :: String -> Maybe CharSet
- basicLatin :: CharSet
- latin1Supplement :: CharSet
- latinExtendedA :: CharSet
- latinExtendedB :: CharSet
- ipaExtensions :: CharSet
- spacingModifierLetters :: CharSet
- combiningDiacriticalMarks :: CharSet
- greekAndCoptic :: CharSet
- cyrillic :: CharSet
- cyrillicSupplementary :: CharSet
- armenian :: CharSet
- hebrew :: CharSet
- arabic :: CharSet
- syriac :: CharSet
- thaana :: CharSet
- devanagari :: CharSet
- bengali :: CharSet
- gurmukhi :: CharSet
- gujarati :: CharSet
- oriya :: CharSet
- tamil :: CharSet
- telugu :: CharSet
- kannada :: CharSet
- malayalam :: CharSet
- sinhala :: CharSet
- thai :: CharSet
- lao :: CharSet
- tibetan :: CharSet
- myanmar :: CharSet
- georgian :: CharSet
- hangulJamo :: CharSet
- ethiopic :: CharSet
- cherokee :: CharSet
- unifiedCanadianAboriginalSyllabics :: CharSet
- ogham :: CharSet
- runic :: CharSet
- tagalog :: CharSet
- hanunoo :: CharSet
- buhid :: CharSet
- tagbanwa :: CharSet
- khmer :: CharSet
- mongolian :: CharSet
- limbu :: CharSet
- taiLe :: CharSet
- khmerSymbols :: CharSet
- phoneticExtensions :: CharSet
- latinExtendedAdditional :: CharSet
- greekExtended :: CharSet
- generalPunctuation :: CharSet
- superscriptsAndSubscripts :: CharSet
- currencySymbols :: CharSet
- combiningDiacriticalMarksForSymbols :: CharSet
- letterlikeSymbols :: CharSet
- numberForms :: CharSet
- arrows :: CharSet
- mathematicalOperators :: CharSet
- miscellaneousTechnical :: CharSet
- controlPictures :: CharSet
- opticalCharacterRecognition :: CharSet
- enclosedAlphanumerics :: CharSet
- boxDrawing :: CharSet
- blockElements :: CharSet
- geometricShapes :: CharSet
- miscellaneousSymbols :: CharSet
- dingbats :: CharSet
- miscellaneousMathematicalSymbolsA :: CharSet
- supplementalArrowsA :: CharSet
- braillePatterns :: CharSet
- supplementalArrowsB :: CharSet
- miscellaneousMathematicalSymbolsB :: CharSet
- supplementalMathematicalOperators :: CharSet
- miscellaneousSymbolsAndArrows :: CharSet
- cjkRadicalsSupplement :: CharSet
- kangxiRadicals :: CharSet
- ideographicDescriptionCharacters :: CharSet
- cjkSymbolsAndPunctuation :: CharSet
- hiragana :: CharSet
- katakana :: CharSet
- bopomofo :: CharSet
- hangulCompatibilityJamo :: CharSet
- kanbun :: CharSet
- bopomofoExtended :: CharSet
- katakanaPhoneticExtensions :: CharSet
- enclosedCjkLettersAndMonths :: CharSet
- cjkCompatibility :: CharSet
- cjkUnifiedIdeographsExtensionA :: CharSet
- yijingHexagramSymbols :: CharSet
- cjkUnifiedIdeographs :: CharSet
- yiSyllables :: CharSet
- yiRadicals :: CharSet
- hangulSyllables :: CharSet
- highSurrogates :: CharSet
- highPrivateUseSurrogates :: CharSet
- lowSurrogates :: CharSet
- privateUseArea :: CharSet
- cjkCompatibilityIdeographs :: CharSet
- alphabeticPresentationForms :: CharSet
- arabicPresentationFormsA :: CharSet
- variationSelectors :: CharSet
- combiningHalfMarks :: CharSet
- cjkCompatibilityForms :: CharSet
- smallFormVariants :: CharSet
- arabicPresentationFormsB :: CharSet
- halfwidthAndFullwidthForms :: CharSet
- specials :: CharSet

# Unicode General Category

data Block Source #

Constructors

Block |

Fields

- blockName :: String
- blockCharSet :: CharSet

#### Instances

Instances details

Data Block Source # |

Instance details

Defined in Data.CharSet.Unicode.Block

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Block -> c Block

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Block

toConstr :: Block -> Constr

dataTypeOf :: Block -> DataType

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Block)

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Block)

gmapT :: (forall b. Data b => b -> b) -> Block -> Block

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Block -> r

gmapQ :: (forall d. Data d => d -> u) -> Block -> [u]

gmapQi :: Int -> (forall d. Data d => d -> u) -> Block -> u

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Block -> m Block

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Block -> m Block

Show Block Source # |
Instance details Defined in Data.CharSet.Unicode.Block Methods showsPrec :: Int -> Block -> ShowS show :: Block -> String showList :: [Block] -> ShowS

# Lookup

blocks :: [Block] Source #

lookupBlock :: String -> Maybe Block Source #

lookupBlockCharSet :: String -> Maybe CharSet Source #

# CharSets by Block

basicLatin :: CharSet Source #

latin1Supplement :: CharSet Source #

latinExtendedA :: CharSet Source #

latinExtendedB :: CharSet Source #

ipaExtensions :: CharSet Source #

spacingModifierLetters :: CharSet Source #

combiningDiacriticalMarks :: CharSet Source #

greekAndCoptic :: CharSet Source #

cyrillic :: CharSet Source #

cyrillicSupplementary :: CharSet Source #

armenian :: CharSet Source #

hebrew :: CharSet Source #

arabic :: CharSet Source #

syriac :: CharSet Source #

thaana :: CharSet Source #

devanagari :: CharSet Source #

bengali :: CharSet Source #

gurmukhi :: CharSet Source #

gujarati :: CharSet Source #

oriya :: CharSet Source #

tamil :: CharSet Source #

telugu :: CharSet Source #

kannada :: CharSet Source #

malayalam :: CharSet Source #

sinhala :: CharSet Source #

thai :: CharSet Source #

lao :: CharSet Source #

tibetan :: CharSet Source #

myanmar :: CharSet Source #

georgian :: CharSet Source #

hangulJamo :: CharSet Source #

ethiopic :: CharSet Source #

cherokee :: CharSet Source #

unifiedCanadianAboriginalSyllabics :: CharSet Source #

ogham :: CharSet Source #

runic :: CharSet Source #

tagalog :: CharSet Source #

hanunoo :: CharSet Source #

buhid :: CharSet Source #

tagbanwa :: CharSet Source #

khmer :: CharSet Source #

mongolian :: CharSet Source #

limbu :: CharSet Source #

taiLe :: CharSet Source #

khmerSymbols :: CharSet Source #

phoneticExtensions :: CharSet Source #

latinExtendedAdditional :: CharSet Source #

greekExtended :: CharSet Source #

generalPunctuation :: CharSet Source #

superscriptsAndSubscripts :: CharSet Source #

currencySymbols :: CharSet Source #

combiningDiacriticalMarksForSymbols :: CharSet Source #

letterlikeSymbols :: CharSet Source #

numberForms :: CharSet Source #

arrows :: CharSet Source #

mathematicalOperators :: CharSet Source #

miscellaneousTechnical :: CharSet Source #

controlPictures :: CharSet Source #

opticalCharacterRecognition :: CharSet Source #

enclosedAlphanumerics :: CharSet Source #

boxDrawing :: CharSet Source #

blockElements :: CharSet Source #

geometricShapes :: CharSet Source #

miscellaneousSymbols :: CharSet Source #

dingbats :: CharSet Source #

miscellaneousMathematicalSymbolsA :: CharSet Source #

supplementalArrowsA :: CharSet Source #

braillePatterns :: CharSet Source #

supplementalArrowsB :: CharSet Source #

miscellaneousMathematicalSymbolsB :: CharSet Source #

supplementalMathematicalOperators :: CharSet Source #

miscellaneousSymbolsAndArrows :: CharSet Source #

cjkRadicalsSupplement :: CharSet Source #

kangxiRadicals :: CharSet Source #

ideographicDescriptionCharacters :: CharSet Source #

cjkSymbolsAndPunctuation :: CharSet Source #

hiragana :: CharSet Source #

katakana :: CharSet Source #

bopomofo :: CharSet Source #

hangulCompatibilityJamo :: CharSet Source #

kanbun :: CharSet Source #

bopomofoExtended :: CharSet Source #

katakanaPhoneticExtensions :: CharSet Source #

enclosedCjkLettersAndMonths :: CharSet Source #

cjkCompatibility :: CharSet Source #

cjkUnifiedIdeographsExtensionA :: CharSet Source #

yijingHexagramSymbols :: CharSet Source #

cjkUnifiedIdeographs :: CharSet Source #

yiSyllables :: CharSet Source #

yiRadicals :: CharSet Source #

hangulSyllables :: CharSet Source #

highSurrogates :: CharSet Source #

highPrivateUseSurrogates :: CharSet Source #

lowSurrogates :: CharSet Source #

privateUseArea :: CharSet Source #

cjkCompatibilityIdeographs :: CharSet Source #

alphabeticPresentationForms :: CharSet Source #

arabicPresentationFormsA :: CharSet Source #

variationSelectors :: CharSet Source #

combiningHalfMarks :: CharSet Source #

cjkCompatibilityForms :: CharSet Source #

smallFormVariants :: CharSet Source #

arabicPresentationFormsB :: CharSet Source #

halfwidthAndFullwidthForms :: CharSet Source #

specials :: CharSet Source #