lens-3.6.0.1: Lenses, Folds and Traversals
Data.Text.Lens
Description
Synopsis
class IsText t whereSource
Traversals for strict or lazy Text
Text
Methods
packed :: Simple Iso String tSource
pack (or unpack) strict or lazy Text.
pack
unpack
pack x = x ^. packed unpack x = x ^. from packed
^.
packed
from
text :: SimpleIndexedTraversal Int t CharSource
Traverse the individual characters in strict or lazy Text.
Instances