add docstrings
This commit is contained in:
parent
3693d307fc
commit
28ecb90489
1 changed files with 6 additions and 2 deletions
|
|
@ -517,9 +517,13 @@
|
|||
[apath structure]
|
||||
(compiled-traverse (i/comp-paths* apath) structure))
|
||||
|
||||
(def compiled-traverse-all i/compiled-traverse-all*)
|
||||
(def ^{:doc "Version of traverse-all that takes in a path precompiled with comp-paths"}
|
||||
compiled-traverse-all i/compiled-traverse-all*)
|
||||
|
||||
(defn traverse-all* [apath] (compiled-traverse-all (i/comp-paths* apath)))
|
||||
(defn traverse-all*
|
||||
"Returns a transducer that traverses over each element with the given path."
|
||||
[apath]
|
||||
(compiled-traverse-all (i/comp-paths* apath)))
|
||||
|
||||
;; Transformation functions
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue