Returns a lazy sequence of all immediate children of location loc,
left-to-right.
(defn children
"Returns a lazy sequence of all immediate children of location loc,
left-to-right."
[loc]
(when (zip/branch? loc)
(map #(auto false %) (right-locs (zip/down loc)))))
Comments top
No comments for children. Log in to add a comment.