Document 'eachnav'.
This commit is contained in:
parent
2181c1c2c2
commit
473301e89c
1 changed files with 9 additions and 0 deletions
|
|
@ -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)`
|
||||
|
|
|
|||
Loading…
Reference in a new issue