HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Moduletext-2.1.3Haskell2010

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.3
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceStrictBuilder.hs
datadata StrictTextBuilder
#

A delayed representation of strict Text.

Constructors

Instances2Semigroup, Monoid
  • Semigroup StrictTextBuilderDefined in text-2.1.3 · 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.3 · 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.