lens-3.8.0.1: Lenses, Folds and Traversals

Portabilitynon-portable
Stabilityexperimental
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellTrustworthy

Data.Text.Lazy.Lens

Description

 

Synopsis

Documentation

packed :: Iso' String TextSource

Pack (or unpack) lazy Text.

 pack x = x ^. packed
 unpack x = x ^. from packed

text :: IndexedTraversal' Int Text CharSource

Traverse the individual characters in a Text.

 anyOf text (=='c') :: Text -> Bool