We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41f6a1f commit 9693d89Copy full SHA for 9693d89
docs/Data/Lens/Traversal.md
@@ -26,4 +26,12 @@ over :: forall s t a b. Traversal s t a b -> (a -> b) -> s -> t
26
27
Apply a function to the foci of a `Traversal`.
28
29
+#### `viewAll`
30
+
31
+``` purescript
32
+viewAll :: forall s t a b m. (Monoid m) => Traversal s t a b -> (a -> m) -> s -> m
33
+```
34
35
+View the foci of a `Traversal`, combining results in some `Monoid`.
36
37
src/Data/Lens/Traversal.purs
@@ -4,6 +4,7 @@ module Data.Lens.Traversal
4
( traverse
5
, traverseOf
6
, over
7
+ , viewAll
8
) where
9
10
import Prelude
0 commit comments