HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulelens-5.3.6Haskell2010

Data.Text.Lazy.Lens

  • 6 values
  • Packagelens-5.3.6
  • 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]