lens-3.1: Lenses, Folds and Traversals

Portabilityportable
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellNone

Data.Text.Strict.Lens

Description

 

Synopsis

Documentation

text :: SimpleIndexedTraversal Int Text CharSource

Traverse the individual characters in strict Text.

>>> anyOf text (=='o') $ "hello"^.packed
True