HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Moduleunicode-data-0.9.0Haskell2010

Unicode.Char.Normalization

Low level Unicode database functions to facilitate Unicode normalization.

For more information on Unicode normalization please refer to the following sections of the Unicode standard:

  • 1 type
  • 8 values
  • Packageunicode-data-0.9.0
  • Exports9
  • LanguageHaskell2010
  • LicenceApache-2.0
  • SourceNormalization.hs

Combining class

3 declarations

Composition

2 declarations
valuecompose :: Char -> Char -> Maybe Char
#

Compose a starter character (combining class 0) with a combining character (non-zero combining class). Returns the composed character if the starter combines with the combining character, returns Nothing otherwise.

valuecomposeStarters :: Char -> Char -> Maybe Char
#

Compose a starter character with another starter character. Returns the composed character if the two starters combine, returns Nothing otherwise.

Decomposition

0 declarations

Non-Hangul

Given a non-Hangul character determine if the character is decomposable. Note that in case compatibility decompositions a character may decompose into a single compatibility character.

valuedecompose :: DecomposeMode -> Char -> [Char]
#

Decompose a non-Hangul character into its canonical or compatibility decompositions. Note that the resulting characters may further decompose.

Hangul