A Builder is an efficient way to build lazy Text values.
There are several functions for constructing builders, but only one
to inspect them: to extract any data, you have to turn them into
lazy Text values using toLazyText.
Internally, a builder constructs a lazy Text by filling arrays
piece by piece. As each buffer is filled, it is 'popped' off, to
become a new chunk of the resulting lazy Text. All this is
hidden from the user of the Builder.
Instances6Eq, Ord, Show, IsString, Semigroup, Monoid
Eq BuilderDefined in text-2.1.3 · Data.Text.Internal.BuilderOrd BuilderDefined in text-2.1.3 · Data.Text.Internal.BuilderShow BuilderDefined in text-2.1.3 · Data.Text.Internal.BuilderIsString BuilderDefined in text-2.1.3 · Data.Text.Internal.BuilderPerforms replacement on invalid scalar values:
Example2 expressions :set -XOverloadedStrings"\55555" :: Builder"\65533"
Semigroup BuilderDefined in text-2.1.3 · Data.Text.Internal.BuilderMonoid BuilderDefined in text-2.1.3 · Data.Text.Internal.Builder