diff --git a/List-of-Navigators.md b/List-of-Navigators.md index 7d41ce4..e09f4ed 100644 --- a/List-of-Navigators.md +++ b/List-of-Navigators.md @@ -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)`