Z-Data-0.1.0.0: array, vector and text
Copyright(c) Winterland 2017-2018
LicenseBSD
Maintainerdrkoster@qq.com
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Z.Data.Text.UTF8Rewind

Description

INTERNAL MODULE, provides utf8rewind constants

Synopsis

Documentation

newtype Locale Source #

Locale for case mapping.

Constructors

Locale CSize 

Instances

Instances details
Eq Locale Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Methods

(==) :: Locale -> Locale -> Bool #

(/=) :: Locale -> Locale -> Bool #

Ord Locale Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Show Locale Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Generic Locale Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Associated Types

type Rep Locale :: Type -> Type #

Methods

from :: Locale -> Rep Locale x #

to :: Rep Locale x -> Locale #

type Rep Locale Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

type Rep Locale = D1 ('MetaData "Locale" "Z.Data.Text.UTF8Rewind" "Z-Data-0.1.0.0-inplace" 'True) (C1 ('MetaCons "Locale" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CSize)))

normalizeCompose :: CSize Source #

see NormalizeMode in Z.Data.Text.Base

data NormalizeMode Source #

These are the Unicode Normalization Forms:

Form                         | Description
---------------------------- | ---------------------------------------------
Normalization Form D (NFD)   | Canonical decomposition
Normalization Form C (NFC)   | Canonical decomposition, followed by canonical composition
Normalization Form KD (NFKD) | Compatibility decomposition
Normalization Form KC (NFKC) | Compatibility decomposition, followed by canonical composition

Constructors

NFC 
NFKC 
NFD 
NFKD 

Instances

Instances details
Eq NormalizeMode Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Ord NormalizeMode Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Show NormalizeMode Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Generic NormalizeMode Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Associated Types

type Rep NormalizeMode :: Type -> Type #

type Rep NormalizeMode Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

type Rep NormalizeMode = D1 ('MetaData "NormalizeMode" "Z.Data.Text.UTF8Rewind" "Z-Data-0.1.0.0-inplace" 'False) ((C1 ('MetaCons "NFC" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NFKC" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "NFD" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NFKD" 'PrefixI 'False) (U1 :: Type -> Type)))

data NormalizationResult Source #

Instances

Instances details
Eq NormalizationResult Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Ord NormalizationResult Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Show NormalizationResult Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Generic NormalizationResult Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Associated Types

type Rep NormalizationResult :: Type -> Type #

type Rep NormalizationResult Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

type Rep NormalizationResult = D1 ('MetaData "NormalizationResult" "Z.Data.Text.UTF8Rewind" "Z-Data-0.1.0.0-inplace" 'False) (C1 ('MetaCons "NormalizedYes" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "NormalizedMaybe" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "NormalizedNo" 'PrefixI 'False) (U1 :: Type -> Type)))

newtype Category Source #

Unicode categories. See isCategory, you can combine categories with bitwise or.

Constructors

Category CSize 

Instances

Instances details
Eq Category Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Ord Category Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Show Category Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Generic Category Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

Associated Types

type Rep Category :: Type -> Type #

Methods

from :: Category -> Rep Category x #

to :: Rep Category x -> Category #

Bits Category Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

FiniteBits Category Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

type Rep Category Source # 
Instance details

Defined in Z.Data.Text.UTF8Rewind

type Rep Category = D1 ('MetaData "Category" "Z.Data.Text.UTF8Rewind" "Z-Data-0.1.0.0-inplace" 'True) (C1 ('MetaCons "Category" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CSize)))