HORIZON HASKELLDocslts/ghc-10.0.x04404a62026-10-19Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 04404a6 · 2026-10-19

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!

Contents
  1. Unsafe
Synopsis
  • Packagetext-2.1.4
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceStrictBuilder.hs

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

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