lens-2.6: Lenses, Folds and Traversals

PortabilityRank2Types
Stabilityprovisional
MaintainerEdward Kmett <ekmett@gmail.com>
Safe HaskellSafe-Infered

Data.Map.Lens

Description

 

Synopsis

Documentation

traverseAtMin :: SimpleIndexedTraversal k (Map k v) vSource

Traverse the value at the minimum key in a Map.

The key of the minimum element is available as the index of the traversal.

traverseAtMax :: SimpleIndexedTraversal k (Map k v) vSource

Traverse the value at the maximum key in a Map.

The key of the maximum element is available as the index of the traversal.