On Mon, Aug 16, 2010 at 3:29 AM, Matthew Phillips <mattp...@gmail.com> wrote: > ;; Now, if I want any node's in-edges, I can't just call "in-edges" > ;; because Node implementations won't have it, so I compute them in > ;; that case. > (defn node-in-edges [n] > (if (isa? Node2) > (in-edges n) > (compute-node-in-edges n))) >
isa? should be satisfies?, I think. -- 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