Community
Modules 50

Data.Text.Lazy.Internal

experimental

This module has been renamed to Lazy. This name for the module will be removed in the next major release.

Use Data.Text.Internal.Lazy instead

module Data.Text.Internal.Lazy text-2.1.4 · 13 declarations

chunk :: T.Text -> Text -> Text

Smart constructor for Chunk. Guarantees the data type invariant.

chunkOverhead :: Int

The memory management overhead. Currently this is tuned for GHC only.

defaultChunkSize :: Int

Currently set to 16 KiB, less the memory management overhead.

empty :: Text

Smart constructor for Empty.

equal :: Text -> Text -> Bool

foldlChunks :: (a -> T.Text -> a) -> a -> Text -> a

Consume the chunks of a lazy Text with a strict, tail-recursive, accumulating left fold.

foldrChunks :: (T.Text -> a -> a) -> a -> Text -> a

Consume the chunks of a lazy Text with a natural right fold.

showStructure :: Text -> String

Display the internal structure of a lazy Text.

smallChunkSize :: Int

Currently set to 128 bytes, less the memory management overhead.

type LazyText = Text

Type synonym for the lazy flavour of Text.

data Text

Empty :: Text

Empty text.

Chunk :: T.Text -> Text -> Text

Text

Chunks must be non-empty, this invariant is not checked.

Maintainer
bos@serpentine.com
Portability
GHC
Copyright
(c) 2013 Bryan O'Sullivan
License
BSD-style
Build record and source files

Community contribution. The service has not verified this documentation. The generator reported 2 diagnostics.

Target: Linux on x86-64. Some inferred types and resolved links are not available.

Generator: aihc-haddock-858b1951-web-1

Metadata snapshot: 0b0724abd14577f7a6c8172d62e3e1c0808feb114d4d379402e17f37e3c7801e

Open the dependency plan · Download the documentation model

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.