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

Modulelens-5.3.5Haskell2010

Data.Text.Lazy.Lens

  • 6 values
  • Packagelens-5.3.5
  • Exports7
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceLens.hs

Encode/Decode a lazy Text to/from lazy ByteString, via UTF-8.

Note: This function does not decode lazily, as it must consume the entire input before deciding whether or not it fails.

Example1 expression
ByteString.unpack (utf8 # "☃")[226,152,131]