Clojure 虽然是一门函数式编程语言,当也能很容易支持类似OOP那种polymorphism, ... (defprotocol SayP (say [this])) (defrecord person [name age] SayP (say [this] ...
確定! 回上一頁