Skip to content

Commit 9693d89

Browse files
committed
Exports
1 parent 41f6a1f commit 9693d89

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/Data/Lens/Traversal.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,12 @@ over :: forall s t a b. Traversal s t a b -> (a -> b) -> s -> t
2626

2727
Apply a function to the foci of a `Traversal`.
2828

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+
2937

src/Data/Lens/Traversal.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module Data.Lens.Traversal
44
( traverse
55
, traverseOf
66
, over
7+
, viewAll
78
) where
89

910
import Prelude

0 commit comments

Comments
 (0)