tonsky / persistent-sorted-set

Fast B-tree based persistent sorted set for Clojure/Script
MIT License
81 stars 16 forks source link

Make Seq class public #11

Closed FiV0 closed 2 years ago

FiV0 commented 2 years ago

Just small followup to my changes. This would allow to check for Seq instances. Something like the following currently fails.

(instance? me.tonsky.persistent_sorted_set.Seq 'foo)
;; => Execution error (IllegalAccessError) at user/eval9344 (REPL:21).
;;    failed to access class me.tonsky.persistent_sorted_set.Seq from class user$eval9344 (me.tonsky.persistent_sorted_set.Seq is in unnamed module of loader 'app'; user$eval9344 is in unnamed module of loader clojure.lang.DynamicClassLoader @2782b1ce)