Open catharinejm opened 9 years ago
Good catch!
Trolling around clojure.lang.RT
and clojure.lang.APersistentVector$SubVector
, it looks like what we want is to add an implementation for instances of clojure.lang.APersistentVector
, or possibly check for APersistentVector instead of PersistentVector.
Using IPersistentVector
works, but we want to avoid interfaces if we can because they might overlap.
Looks like
clojure.lang.PersistentVector
is extended withEncodeTagged
, but notclojure.lang.IPersistentVector
. In my (extremely rudimentary) testing, making itIPersistentVector
instead seems to work fine.