(proxy+- [super-args] & impl-body)
(proxy+- ClassNameSymbol [super-args] & impl-body)
A replacement for clojure.core/proxy. Return an object implementing the class
and interfaces. The class will be named ClassNameSymbol
if provided;
otherwise uses a unique generated name.
super-args is a (possibly empty) vector of arguments to the superclass constructor.
impl-body specifies the superclass, any interfaces, and their method implementations, using the same syntax as clojure.core/proxy.
The first implementation body also specifies the superclass, if it refers to a class; if it is an interface, then the superclass will be Object. All other implementation bodies must refer to interfaces.
Clojure has certain arbitary restrictions on primative hints (^long, ^int, etc). If the type signature given to proxy does not allow a legal Clojure function to be constructed then the primative type hints will be used to match the method being over-ridden but otherwise ignored for the purposes of constructing the Clojure function.
A replacement for clojure.core/proxy. Return an object implementing the class and interfaces. The class will be named `ClassNameSymbol` if provided; otherwise uses a unique generated name. super-args is a (possibly empty) vector of arguments to the superclass constructor. impl-body specifies the superclass, any interfaces, and their method implementations, using the same syntax as clojure.core/proxy. The first implementation body also specifies the superclass, if it refers to a class; if it is an interface, then the superclass will be Object. All other implementation bodies must refer to interfaces. Clojure has certain arbitary restrictions on primative hints (^long, ^int, etc). If the type signature given to proxy does not allow a legal Clojure function to be constructed then the primative type hints will be used to match the method being over-ridden but otherwise ignored for the purposes of constructing the Clojure function.
(proxy-super+- method this & args)
Like clojure.core/proxy-super
except:
Like `clojure.core/proxy-super` except: 1. Thread safe 2. Works only on proxy+- proxies
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close