text-2.0: An efficient packed Unicode text type.
Copyright(c) 2011 Bryan O'Sullivan
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Text.Internal.Private

Description

 
Synopsis

Documentation

runText :: (forall s. (MArray s -> Int -> ST s Text) -> ST s Text) -> Text Source #

span_ :: (Char -> Bool) -> Text -> (# Text, Text #) Source #

spanAscii_ :: (Word8 -> Bool) -> Text -> (# Text, Text #) Source #

For the sake of performance this function does not check that a char is in ASCII range; it is a responsibility of p.

Since: text-2.0