HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulebytebuild-0.3.16.2Haskell2010

Data.Bytes.Builder.Bounded.Class

  • 1 class
classclass ToBoundedBuilder a where
#

Variant of To that can be encoded as a builder. Human-readable encodings are used when possible. For example, numbers are encoded an ascii-encoded decimal characters. UTF-8 is preferred for textual types. For types that represent arbitrary bytes (e.g. Bytes, ByteString), the bytes are preserved.

The goal of this typeclass is to reduce the size of builders produced by quasiquotation.

Associated types

Instances11ToBoundedBuilder, …