W3cubDocs

/Haskell 9

Data.Text.Internal.Unsafe.Char

Copyright (c) 2008 2009 Tom Harper
(c) 2009 2010 Bryan O'Sullivan
(c) 2009 Duncan Coutts
License BSD-style
Maintainer [email protected]
Stability experimental
Portability GHC
Safe Haskell None
Language Haskell2010

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.

ord :: Char -> Int Source

unsafeChr16 :: Word16 -> Char Source

Since: text-2.0

unsafeChr8 :: Word8 -> Char Source

unsafeChr32 :: Word32 -> Char Source

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.

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/9.12.1/docs/libraries/text-2.1.2-84f9/Data-Text-Internal-Unsafe-Char.html