fix outdated docstrings

This commit is contained in:
nathanmarz 2017-07-29 12:35:33 -04:00
parent 03e686cd9c
commit 1b7f987eaa

View file

@ -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