Portability | Rank2Types |
---|---|
Stability | provisional |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Safe Haskell | Safe-Infered |
- traverseAtMin :: SimpleIndexedTraversal k (Map k v) v
- traverseAtMax :: SimpleIndexedTraversal k (Map k v) v
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.