| Copyright | (C) 2012-15 Edward Kmett |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Edward Kmett <ekmett@gmail.com> |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell98 |
Data.Text.Lens
Description
Documentation
Traversals for strict or lazy Text
Methods
packed :: Iso' String t Source
This isomorphism can be used to pack (or unpack) strict or lazy Text.
packx ≡ x^.packedunpackx ≡ x^.frompackedpacked≡fromunpacked
builder :: Iso' t Builder Source
Convert between strict or lazy Text and a Builder.
fromTextx ≡ x^.builder
text :: IndexedTraversal' Int t Char Source