HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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.

Contents
  1. Widely used types
Synopsis
  • Packagetext-icu-0.8.0.5
  • Exports5
  • LanguageHaskell98
  • LicenceBSD-3-Clause
  • SourceTypes.hs

Widely used types

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

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.

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.