Copyright | (C) 2012-16 Edward Kmett |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
Traversals for strict or lazy
Text
packed :: Iso' String t Source #
This isomorphism can be used to
pack
(or
unpack
) strict or lazy
Text
.
pack
x ≡ x^.
packed
unpack
x ≡ x^.
from
packed
packed
≡from
unpacked