Copyright | (c) 2010 Bryan O'Sullivan |
---|---|
License | BSD-style |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Data.Text.ICU.Types
Contents
Description
Types for use when manipulating Unicode text, using the bindings to the International Components for Unicode (ICU) libraries.
Synopsis
- data LocaleName
- data ParseError
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
IsString LocaleName Source # | |
Defined in Data.Text.ICU.Internal Methods fromString :: String -> LocaleName Source # | |
Read LocaleName Source # | |
Defined in Data.Text.ICU.Internal | |
Show LocaleName Source # | |
Defined in Data.Text.ICU.Internal | |
NFData LocaleName Source # | |
Defined in Data.Text.ICU.Internal Methods rnf :: LocaleName -> () Source # | |
Eq LocaleName Source # | |
Defined in Data.Text.ICU.Internal Methods (==) :: LocaleName -> LocaleName -> Bool Source # (/=) :: LocaleName -> LocaleName -> Bool Source # | |
Ord LocaleName Source # | |
Defined in Data.Text.ICU.Internal Methods compare :: LocaleName -> LocaleName -> Ordering Source # (<) :: LocaleName -> LocaleName -> Bool Source # (<=) :: LocaleName -> LocaleName -> Bool Source # (>) :: LocaleName -> LocaleName -> Bool Source # (>=) :: LocaleName -> LocaleName -> Bool Source # max :: LocaleName -> LocaleName -> LocaleName Source # min :: LocaleName -> LocaleName -> LocaleName Source # |
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
Exception ParseError Source # | |
Defined in Data.Text.ICU.Error.Internal Methods toException :: ParseError -> SomeException Source # fromException :: SomeException -> Maybe ParseError Source # displayException :: ParseError -> String Source # | |
Show ParseError Source # | |
Defined in Data.Text.ICU.Error.Internal | |
NFData ParseError Source # | |
Defined in Data.Text.ICU.Error.Internal Methods rnf :: ParseError -> () Source # |