| Portability | non-portable |
|---|---|
| Stability | experimental |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Safe Haskell | Trustworthy |
Data.Text.Lazy.Lens
Description
Documentation
builder :: Iso' Text BuilderSource
Convert between lazy Text and Builder .
fromLazyTextx ≡ x^.buildertoLazyTextx ≡ x^.frombuilder
utf8 :: Prism' ByteString TextSource
EncodeDecode a lazy 'Text' tofrom 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.
>>>ByteString.unpack (utf8 # "☃")[226,152,131]