Re: Minor bug in clojure.zip/path

2017-10-24 Thread adrian . medina
clojure.core/seq? ([x]) Return true if x implements ISeq (seq? []) => false because... (instance? clojure.lang.ISeq []) => false Vectors do not implement ISeq. That's all the seq? predicate cares about. But vectors are `seqable?`: clojure.core/seqable? ([x]) Return true if the seq

Minor bug in clojure.zip/path

2017-10-24 Thread Maxim Bazhenov
Hi, the documentation for clojure.zip/path states that it *"Returns a seq of nodes leading to this loc". *But the following test will fail (seq? returns false): (require '[clojure.zip :as z]) (def v [[1]]) (def vz (z/vector-zip v)) (seq? (z/path (z/down (z/down vz The path actually