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

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:

Contents
  1. Combining class
  2. Composition
  3. Decomposition
  4. Non-Hangul
  5. Hangul
Synopsis
  • Packageunicode-data-0.9.0
  • Exports9
  • LanguageHaskell2010
  • LicenceApache-2.0
  • SourceNormalization.hs

Combining class

Composition

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.

Decomposition

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.

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

Hangul