For that, Clojure provides reify. A quick example of this can be seen here. (def some-shape (reify Shape (area [this] "I calculate area") (perimeter [this] ...
確定! 回上一頁