By the way, 
Keywords in a hierarchy need not be namespaced unless they are in the global
hierarchy.

user> (def H (-> (make-hierarchy) (derive :klutz :person)))

user> (isa? H :klutz :person)
true

user> (isa? H :eggplant :person)
false

user> (isa? H :person :klutz)
false

;; just to show contrast - try it with the global hierarchy:
(derive :eggplant :veg)
AssertionError Assert failed: (namespace parent)  clojure.core/derive (core.
clj:5176)NoSuchMethodError clojure.tools.nrepl.StdOutBuffer.length()I 
 clojure.tools.nrepl.middleware.session/session-out/fn--7630 (session.clj:43
)



-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to