From 1b7f987eaa7a805b745fccf092c72e1f07dc35df Mon Sep 17 00:00:00 2001 From: nathanmarz Date: Sat, 29 Jul 2017 12:35:33 -0400 Subject: [PATCH] fix outdated docstrings --- src/clj/com/rpl/specter.cljc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/clj/com/rpl/specter.cljc b/src/clj/com/rpl/specter.cljc index 372226f..ea3df84 100644 --- a/src/clj/com/rpl/specter.cljc +++ b/src/clj/com/rpl/specter.cljc @@ -1100,8 +1100,8 @@ ))) (def - ^{:doc "Keeps the element only if it matches the supplied predicate. This is the - late-bound parameterized version of using a function directly in a path." + ^{:doc "Keeps the element only if it matches the supplied predicate. Functions in paths + implicitly convert to this navigator." :direct-nav true} pred i/pred*) @@ -1299,11 +1299,7 @@ Tests the structure if selecting with cond-path returns anything. 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 - 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." + is not selected." [& conds] (let [pairs (reverse (partition 2 conds))] (reduce