text-normal-0.2.1.0: Unicode-normalized text

Safe HaskellNone

Data.Text.Normal.NFC

Description

Strings normalized according to Normalization Form Canonical Composition.

Synopsis

Documentation

fromText :: Text -> NormalSource

Convert Text efficiently to Normal.

toText :: Normal -> TextSource

Convert Normal to Text. This function just unwraps the newtype, so there is zero runtime cost.