to Clojure. I have defined a protocol with overload methods,and one has varargs: (ns test) (defprotocol Say (say [this a] [this a & b] "say hello"))
確定! 回上一頁