rlm@10: (ns clojure.test-clojure.protocols.examples) rlm@10: rlm@10: (defprotocol ExampleProtocol rlm@10: "example protocol used by clojure tests" rlm@10: rlm@10: (foo [a] "method with one arg") rlm@10: (bar [a b] "method with two args") rlm@10: (^String baz [a] [a b] "method with multiple arities") rlm@10: (with-quux [a] "method name with a hyphen")) rlm@10: rlm@10: (definterface ExampleInterface rlm@10: (hinted [^int i]) rlm@10: (hinted [^String s])) rlm@10: