text-icu-0.8.0.5: Bindings to the ICU library
Copyright(c) 2010 Bryan O'Sullivan
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Data.Text.ICU.Types

Description

Types for use when manipulating Unicode text, using the bindings to the International Components for Unicode (ICU) libraries.

Synopsis

Widely used types

data LocaleName Source #

The name of a locale.

Constructors

Root

The root locale. For a description of resource bundles and the root resource, see http://userguide.icu-project.org/locale/resources.

Locale String

A specific locale.

Current

The program's current locale.

Instances

Instances details
NFData LocaleName Source # 
Instance details

Defined in Data.Text.ICU.Internal

Methods

rnf :: LocaleName -> ()

IsString LocaleName Source # 
Instance details

Defined in Data.Text.ICU.Internal

Methods

fromString :: String -> LocaleName

Read LocaleName Source # 
Instance details

Defined in Data.Text.ICU.Internal

Methods

readsPrec :: Int -> ReadS LocaleName

readList :: ReadS [LocaleName]

readPrec :: ReadPrec LocaleName

readListPrec :: ReadPrec [LocaleName]

Show LocaleName Source # 
Instance details

Defined in Data.Text.ICU.Internal

Methods

showsPrec :: Int -> LocaleName -> ShowS

show :: LocaleName -> String

showList :: [LocaleName] -> ShowS

Eq LocaleName Source # 
Instance details

Defined in Data.Text.ICU.Internal

Methods

(==) :: LocaleName -> LocaleName -> Bool

(/=) :: LocaleName -> LocaleName -> Bool

Ord LocaleName Source # 
Instance details

Defined in Data.Text.ICU.Internal

data ParseError Source #

Detailed information about parsing errors. Used by ICU parsing engines that parse long rules, patterns, or programs, where the text being parsed is long enough that more information than an ICUError is needed to localize the error.

Instances

Instances details
NFData ParseError Source # 
Instance details

Defined in Data.Text.ICU.Error.Internal

Methods

rnf :: ParseError -> ()

Exception ParseError Source # 
Instance details

Defined in Data.Text.ICU.Error.Internal

Methods

toException :: ParseError -> SomeException

fromException :: SomeException -> Maybe ParseError

displayException :: ParseError -> String

backtraceDesired :: ParseError -> Bool

Show ParseError Source # 
Instance details

Defined in Data.Text.ICU.Error.Internal

Methods

showsPrec :: Int -> ParseError -> ShowS

show :: ParseError -> String

showList :: [ParseError] -> ShowS