fix api doc for cond-path
This commit is contained in:
parent
231fe9c95c
commit
bb1a70c339
1 changed files with 5 additions and 4 deletions
|
|
@ -185,10 +185,11 @@
|
||||||
(->PutValCollector val))
|
(->PutValCollector val))
|
||||||
|
|
||||||
(defn cond-path
|
(defn cond-path
|
||||||
"Takes in alternating cond-fn selector cond-fn selector...
|
"Takes in alternating cond-path selector cond-path selector...
|
||||||
Tests the structure on the cond-fn, and if it matches uses the following selector for
|
Tests the structure if selecting with cond-path returns anything.
|
||||||
the rest of the selector. Otherwise, it moves on to the next selector. If nothing
|
If so, it uses the following selector for this portion of the navigation.
|
||||||
matches, then the structure is not selected."
|
Otherwise, it tries the next cond-path. If nothing matches, then the structure
|
||||||
|
is not selected."
|
||||||
[& conds]
|
[& conds]
|
||||||
(->> conds
|
(->> conds
|
||||||
(partition 2)
|
(partition 2)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue