text-1.1.0.0: An efficient packed Unicode text type.

PortabilityGHC
Stabilityexperimental
Maintainerbos@serpentine.com
Safe HaskellNone

Data.Text.Internal.Unsafe.Char

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!

Fast character manipulation functions.

Synopsis

Documentation

unsafeWrite :: MArray s -> Int -> Char -> ST s IntSource

Write a character into the array at the given offset. Returns the number of Word16s written.