| License | BSD-style (see LICENSE) |
|---|---|
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
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!
Since: text-2.0.2
data StrictTextBuilder Source
A delayed representation of strict Text.
Since: text-2.1.2
| StrictTextBuilder | |
| Monoid StrictTextBuilder Source | |
Defined in Data.Text.Internal.StrictBuilder Methodsmappend :: StrictTextBuilder -> StrictTextBuilder -> StrictTextBuilder | |
| Semigroup StrictTextBuilder Source | Concatenation of |
Defined in Data.Text.Internal.StrictBuilder Methods(<>) :: StrictTextBuilder -> StrictTextBuilder -> StrictTextBuilder sconcat :: NonEmpty StrictTextBuilder -> StrictTextBuilder stimes :: Integral b => b -> StrictTextBuilder -> StrictTextBuilder | |
type StrictBuilder = StrictTextBuilder Source
Deprecated: Use StrictTextBuilder instead
A delayed representation of strict Text.
Since: text-2.0.2
toText :: StrictTextBuilder -> Text Source
Use StrictBuilder to build Text.
Since: text-2.0.2
fromChar :: Char -> StrictTextBuilder Source
Since: text-2.0.2
fromText :: Text -> StrictTextBuilder Source
Copy Text in a StrictBuilder
Since: text-2.0.2
For internal purposes, we abuse StrictBuilder as a delayed Array rather than Text: it may not actually be valid Text.
unsafeFromByteString :: ByteString -> StrictTextBuilder Source
Copy a ByteString.
Unsafe: This may not be valid UTF-8 text.
Since: text-2.0.2
unsafeFromWord8 :: Word8 -> StrictTextBuilder Source
Unsafe: This may not be valid UTF-8 text.
Since: text-2.0.2
© 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-StrictBuilder.html