text-2.1.1: An efficient packed Unicode text type.
Copyright(c) 2008 2009 Tom Harper
(c) 2009 2010 Bryan O'Sullivan
(c) 2009 Duncan Coutts
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

unsafeChr16 :: Word16 -> Char Source #

Since: 2.0

unsafeWrite :: MArray s -> Int -> Char -> ST s Int Source #

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