HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduletext-icu-0.8.0.5Haskell98

Data.Text.ICU.Types

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

  • 2 types
  • 3 values
  • Packagetext-icu-0.8.0.5
  • Exports5
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceTypes.hs

Widely used types

5 declarations
datadata LocaleName
#

The name of a locale.

Constructors

Instances6Eq, Ord, Read, Show, IsString, NFData
datadata ParseError
#

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.

Instances3Show, Exception, NFData
valueerrLine :: ParseError -> Maybe Int
#

The line on which the error occured. If the parser uses this field, it sets it to the line number of the source text line on which the error appears, which will be be a positive value. If the parser does not support line numbers, the value will be Nothing.

valueerrOffset :: ParseError -> Maybe Int
#

The character offset to the error. If the errLine field is Just some value, then this field contains the offset from the beginning of the line that contains the error. Otherwise, it represents the offset from the start of the text. If the parser does not support this field, it will have a value of Nothing.