lens-18.104.22.168: Lenses, Folds and Traversals
Lenses for working with products.
Due to their ubiquity, _1 and _2 are defined in Control.Lens.
both :: Traversal (a, a) (b, b) a bSource
Traverse both parts of a tuple with matching types.
value :: (k -> Bool) -> SimpleIndexedTraversal k (k, v) vSource
This provides a Traversal that checks a predicate on a key before
allowing you to traverse into a value.
Produced by Haddock version 2.10.0