Welcome! Please see the About page for a little more info on how this works.

0 votes
in Clojure by

Currently Proxy only supports interfaces and abstract classes. While protocols are supported via the protocol's interface, this means that the method names must be java mangled. E.g. the method name for set-value! becomes set_valueBANG. However, the only possible way to subclass abstract classes in Clojure is currently via gen-class (doesn't work from the REPL) or proxy.

1 Answer

0 votes
Reference: https://clojure.atlassian.net/browse/CLJ-1447 (reported by halgari)