Liking cljdoc? Tell your friends :D

external-function.core


defexternalcljmacro

(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.
sourceraw docstring

external-fnclj

(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.
sourceraw docstring

get-implclj

(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.
sourceraw docstring

provide-impl!clj

(provide-impl! this impl)

Provide an implementation of an external function.

Provide an implementation of an external function.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close