(cascalog-zip root)
Returns a zipper for cascalog nodes, given a root sequence
Returns a zipper for cascalog nodes, given a root sequence
(leftmost-descendant loc)
Given a zipper loc, returns its leftmost descendent (ie, down repeatedly).
Given a zipper loc, returns its leftmost descendent (ie, down repeatedly).
(my-next loc)
Moves to the next loc in the hierarchy in postorder traversal. Behaves like clojure.zip/next otherwise. Note that unlike with a pre-order walk, the root is NOT the first element in the walk order, so be sure to take that into account in your algorithm if it matters (ie, call leftmost-descendant first thing before processing a node).
Moves to the next loc in the hierarchy in postorder traversal. Behaves like clojure.zip/next otherwise. Note that unlike with a pre-order walk, the root is NOT the first element in the walk order, so be sure to take that into account in your algorithm if it matters (ie, call leftmost-descendant first thing before processing a node).
(postwalk-edit zipper matcher editor & {:keys [encoder] :or {encoder identity}})
(branch? node)
Is it possible for node to have children?
Is it possible for node to have children?
(children node)
Return children of this node.
Return children of this node.
(make-node node children)
Makes new node from existing node and new children.
Makes new node from existing node and new children.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close