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

Moduleunicode-data-0.4.0.1Haskell2010

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

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