text-1.2.2.0: An efficient packed Unicode text type.

PortabilityGHC
Stabilityexperimental
Maintainerbos@serpentine.com
Safe HaskellNone

Data.Text.Internal.Encoding.Utf8

Contents

Description

Warning: this is an internal module, and does not have a stable API or name. Functions in this module may not check or enforce preconditions expected by public modules. Use at your own risk!

Basic UTF-8 validation and character manipulation.

Synopsis

Documentation

ord2 :: Char -> (Word8, Word8)

chr2 :: Word8 -> Word8 -> Char

chr3 :: Word8 -> Word8 -> Word8 -> Char

chr4 :: Word8 -> Word8 -> Word8 -> Word8 -> Char

Validation