Is this a bug? (defprotocol Notcloseable (dosomething [this]))
(defrecord Archive [] java.io.Closeable (close [_] (print "closeable")) Notcloseable (dosomething [_] (print "something"))) user> (def a (Archive.)) user> (.close a) closeable user> (close a) Unable to resolve symbol: close in this context [Thrown class java.lang.Exception] user> (dosomething a) something user> (.dosomething a) something Implementing a protol creates both java function and a clojure function. Implementing an interface only creates the java function. Seems kind of strange. -- 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