I think zip/down has a bug. It effectively does (when (children loc) ...), and since in Clojure empty list isn't false, it ends up adding nodes in my tree.
Shouldn't it check for (when-not (empty? (children loc)) ...) ? --J. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---