HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduletext-2.1.4Haskell2010

Data.Text.Internal.StrictBuilder

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!

  • 2 types
  • 5 values
  • Packagetext-2.1.4
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceStrictBuilder.hs
datadata StrictTextBuilder
#

A delayed representation of strict Text.

Constructors

Instances2Semigroup, Monoid
  • Semigroup StrictTextBuilderDefined in text-2.1.4 · Data.Text.Internal.StrictBuilder

    Concatenation of StrictBuilder is right-biased: the right builder will be run first. This allows a builder to run tail-recursively when it was accumulated left-to-right.

  • Monoid StrictTextBuilderDefined in text-2.1.4 · Data.Text.Internal.StrictBuilder

Unsafe

2 declarations

For internal purposes, we abuse StrictBuilder as a delayed Array rather than Text: it may not actually be valid Text.