rename walker param to be consistent with doc
This commit is contained in:
parent
b2589e00a6
commit
0b88411f88
1 changed files with 4 additions and 4 deletions
|
|
@ -1286,15 +1286,15 @@
|
||||||
a value for which `afn` returns truthy. Has
|
a value for which `afn` returns truthy. Has
|
||||||
same semantics as clojure.walk."}
|
same semantics as clojure.walk."}
|
||||||
walker
|
walker
|
||||||
(recursive-path [apred] p
|
(recursive-path [afn] p
|
||||||
(cond-path (pred apred) STAY
|
(cond-path (pred afn) STAY
|
||||||
coll? [ALL p]
|
coll? [ALL p]
|
||||||
)))
|
)))
|
||||||
|
|
||||||
(def
|
(def
|
||||||
^{:doc "Like `walker` but maintains metadata of any forms traversed."}
|
^{:doc "Like `walker` but maintains metadata of any forms traversed."}
|
||||||
codewalker
|
codewalker
|
||||||
(recursive-path [apred] p
|
(recursive-path [afn] p
|
||||||
(cond-path (pred apred) STAY
|
(cond-path (pred afn) STAY
|
||||||
coll? [ALL-WITH-META p]
|
coll? [ALL-WITH-META p]
|
||||||
)))
|
)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue