(build-collecting-dance &
{:keys [when what at into accumulate position]
:or {into [] accumulate conj position :post}
:as more-opts})
A dance that keeps track of the depth of the traversal. Context key: :depth.
A dance that keeps track of the depth of the traversal. Context key: :depth.
Accepts an optional :bound-sym? function in the context.
Accepts an optional :bound-sym? function in the context.
A dance that keeps track of the index the current nodes resides at in its parent node. The index can be either a number for list/vectors or anything else for maps. Context key: :index.
A dance that keeps track of the index the current nodes resides at in its parent node. The index can be either a number for list/vectors or anything else for maps. Context key: :index.
A dance that keeps track of the parent node. Context keys: :parent (:next-parent).
A dance that keeps track of the parent node. Context keys: :parent (:next-parent).
A dance that keeps track of the parent nodes, in genealogic order (parent, grand-parent, ...). Context keys: :parents (:next-parent).
A dance that keeps track of the parent nodes, in genealogic order (parent, grand-parent, ...). Context keys: :parents (:next-parent).
A dance that keeps track of the path from the root of the datastructure to the current node. To use a path to find back the node it leads to, use shuriken.core/get-nth-in and sister functions since contrary to get-in, assoc, etc ..., they support traversing sequences. Context key: :path.
A dance that keeps track of the path from the root of the datastructure to the current node. To use a path to find back the node it leads to, use shuriken.core/get-nth-in and sister functions since contrary to get-in, assoc, etc ..., they support traversing sequences. Context key: :path.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close