lens-2.4: Lenses, Folds and Traversals
Data.Text.Lazy.Lens
Description
Synopsis
packed :: Simple Iso String TextSource
Pack (or unpack) Text.
Text
pack x = x^.packed unpack x = x^.from packed
text :: Simple Traversal Text CharSource
Traverse the individual characters in a Text.
anyOf text (=='c') :: Text -> Bool