Hi all, I have two clj files with two namespaces: a.clj
(ns a) (defrecord A [a b]) b.clj (ns b (:import [a A])) (defprotocol Foo (bar [s])) (extend-type A Foo (bar [s] (println s))) (def x (A. 1 2)) (bar x) Throws: No single method: bar of interface: b.Foo found for function: bar of protocol: Foo [Thrown class java.lang.IllegalArgumentException] Has anyone a clue what's going on? :) Cheers Andreas -- 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