Document 'eachnav'.

This commit is contained in:
Michael Fogleman 2017-09-18 08:48:08 -04:00
parent 2181c1c2c2
commit 473301e89c

View file

@ -35,6 +35,7 @@
- [cond-path](#cond-path)
- [continue-then-stay](#continue-then-stay)
- [continuous-subseqs](#continuous-subseqs)
- [eachnav](#eachnav)
- [filterer](#filterer)
- [if-path](#if-path)
- [index-nav](#index-nav)
@ -569,6 +570,14 @@ Navigates to every continuous subsequence of elements matching `pred`.
[11 12 20]
```
## eachnav
`(eachnav navigator)`
Turns a navigator that takes one argument into a navigator that takes many arguments and uses the same navigator with each argument. There is no performance cost to using this.
`keypath`, `must`, and `nthpath` are all implemented using eachnav, making multiple arguments possible. See their documentation here, or look at their implementation in Specter core.
## filterer
`(filterer & path)`