(import-def sym)(import-def sym name)Given a regular def'd var from another namespace, defined a new var with the same name in the current namespace.
Given a regular def'd var from another namespace, defined a new var with the same name in the current namespace.
(import-fn sym)(import-fn sym name)Given a function in another namespace, defines a function with the same name in the current namespace. Argument lists, doc-strings, and original line-numbers are preserved.
Given a function in another namespace, defines a function with the same name in the current namespace. Argument lists, doc-strings, and original line-numbers are preserved.
(import-macro sym)(import-macro sym name)Given a macro in another namespace, defines a macro with the same name in the current namespace. Argument lists, doc-strings, and original line-numbers are preserved.
Given a macro in another namespace, defines a macro with the same name in the current namespace. Argument lists, doc-strings, and original line-numbers are preserved.
(import-vars & syms)Imports a list of vars from other namespaces.
Imports a list of vars from other namespaces.
(link-vars src dst)Makes sure that all changes to src are reflected in dst.
Makes sure that all changes to `src` are reflected in `dst`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |