Class Generation
8(defrecord name [fields*] options* specs*) Options are expressed as sequential keywords and arguments (in any order)...
macroclojure.core
(deftype name [fields*] options* specs*) Options are expressed as sequential keywords and arguments (in any order). ...
macroclojure.core
Implementations of protocol methods can be provided using the extend construct: (extend AType AProtocol {:fo...
functionclojure.core
Useful when you want to provide several implementations of the same protocol all at once. Takes a single protocol and ...
macroclojure.core
A macro that expands into an extend call. Useful when you are supplying the definitions explicitly inline, extend-type...
macroclojure.core
class-and-interfaces - a vector of class names args - a (possibly empty) vector of arguments to the superclass cons...
macroclojure.core
Use to call a superclass method in the body of a proxy method. Note, expansion captures 'this
macroclojure.core
reify creates an object implementing a protocol or interface. reify is a macro with the following structure: (reify ...
macroclojure.core