Liking cljdoc? Tell your friends :D

cascalog.logic.zip


cascalog-zipclj

(cascalog-zip root)

Returns a zipper for cascalog nodes, given a root sequence

Returns a zipper for cascalog nodes, given a root sequence
raw docstring

leftmost-descendantclj

(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).
raw docstring

my-nextclj

(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).
raw docstring

postwalk-editclj

(postwalk-edit zipper matcher editor & {:keys [encoder] :or {encoder identity}})

TreeNodecljprotocol

branch?clj

(branch? node)

Is it possible for node to have children?

Is it possible for node to have children?

childrenclj

(children node)

Return children of this node.

Return children of this node.

make-nodeclj

(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