Document traversed.
This commit is contained in:
parent
d53a3c21fd
commit
57f35a2234
1 changed files with 12 additions and 0 deletions
|
|
@ -1000,6 +1000,18 @@ See also [view](#view)
|
||||||
(0 1 1 3 2 5 3 7 4 9)
|
(0 1 1 3 2 5 3 7 4 9)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## traversed
|
||||||
|
|
||||||
|
`(traversed path reduce-fn)`
|
||||||
|
|
||||||
|
Navigates to a view of the current value by transforming with a reduction over
|
||||||
|
the specified traversal.
|
||||||
|
|
||||||
|
```clojure
|
||||||
|
=> (select-any (traversed ALL +) [1 2 3 4])
|
||||||
|
10
|
||||||
|
```
|
||||||
|
|
||||||
## view
|
## view
|
||||||
|
|
||||||
`(view afn)`
|
`(view afn)`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue