(defexternal fn-name docstring? attr-map? arglist-or-arglists)
Define an function whose implementation will be provided externally. You can invoke this function just like a normal function; if an implementation has not been provided yet, it will throw an Exception.
Provide an implementation with (provide-impl external-fn some-fn)
. You can also use this method to replace impls.
Define an function whose implementation will be provided externally. You can invoke this function just like a normal function; if an implementation has not been provided yet, it will throw an Exception. Provide an implementation with `(provide-impl external-fn some-fn)`. You can also use this method to replace impls.
(external-fn)
(external-fn initial-impl)
Create an function whose implementation will be provided externally. You can invoke this function just like a normal function; if an implementation has not been provided yet, it will throw an Exception.
Provide an impl with (provide-impl external-fn some-fn)
. You can also use this method to replace impls.
Create an function whose implementation will be provided externally. You can invoke this function just like a normal function; if an implementation has not been provided yet, it will throw an Exception. Provide an impl with `(provide-impl external-fn some-fn)`. You can also use this method to replace impls.
(get-impl this)
Get the implementation of this external function, or throw an Exception if none has been provided yet.
Get the implementation of this external function, or throw an Exception if none has been provided yet.
(provide-impl! this impl)
Provide an implementation of an external function.
Provide an implementation of an external function.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close