fix outdated docstrings
This commit is contained in:
parent
03e686cd9c
commit
1b7f987eaa
1 changed files with 3 additions and 7 deletions
|
|
@ -1100,8 +1100,8 @@
|
||||||
)))
|
)))
|
||||||
|
|
||||||
(def
|
(def
|
||||||
^{:doc "Keeps the element only if it matches the supplied predicate. This is the
|
^{:doc "Keeps the element only if it matches the supplied predicate. Functions in paths
|
||||||
late-bound parameterized version of using a function directly in a path."
|
implicitly convert to this navigator."
|
||||||
:direct-nav true}
|
:direct-nav true}
|
||||||
pred
|
pred
|
||||||
i/pred*)
|
i/pred*)
|
||||||
|
|
@ -1299,11 +1299,7 @@
|
||||||
Tests the structure if selecting with cond-path returns anything.
|
Tests the structure if selecting with cond-path returns anything.
|
||||||
If so, it uses the following path for this portion of the navigation.
|
If so, it uses the following path for this portion of the navigation.
|
||||||
Otherwise, it tries the next cond-path. If nothing matches, then the structure
|
Otherwise, it tries the next cond-path. If nothing matches, then the structure
|
||||||
is not selected.
|
is not selected."
|
||||||
|
|
||||||
The input paths may be parameterized, in which case the result of cond-path
|
|
||||||
will be parameterized in the order of which the parameterized navigators
|
|
||||||
were declared."
|
|
||||||
[& conds]
|
[& conds]
|
||||||
(let [pairs (reverse (partition 2 conds))]
|
(let [pairs (reverse (partition 2 conds))]
|
||||||
(reduce
|
(reduce
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue