Liking cljdoc? Tell your friends :D
Clojure only.

meme.loader

Namespace loader for registered languages. Intercepts clojure.core/load to search for source files with registered extensions on the classpath. When found, the source is loaded through the lang's :run function.

Any lang registered via meme.registry with an :extension and :run function gets require support automatically.

Installed implicitly by run-file and the REPL — no manual setup.

Security: a denylist prevents interception of core infrastructure namespaces (clojure., java., etc.). Only user/library namespaces are eligible for lang-based loading.

Namespace loader for registered languages.
Intercepts clojure.core/load to search for source files with
registered extensions on the classpath. When found, the source
is loaded through the lang's :run function.

Any lang registered via meme.registry with an :extension and :run
function gets require support automatically.

Installed implicitly by run-file and the REPL — no manual setup.

Security: a denylist prevents interception of core infrastructure
namespaces (clojure.*, java.*, etc.). Only user/library namespaces
are eligible for lang-based loading.
raw docstring

install!clj

(install!)

Install the lang-aware loader. Idempotent — safe to call multiple times. Designed for single-threaded initialization at program startup. After this, (require 'my.ns) searches all registered lang extensions. On Babashka, require-based loading is not supported (SCI bypasses clojure.core/load). A warning is printed on first install.

Install the lang-aware loader. Idempotent — safe to call multiple times.
Designed for single-threaded initialization at program startup.
After this, (require 'my.ns) searches all registered lang extensions.
On Babashka, require-based loading is not supported (SCI bypasses
clojure.core/load). A warning is printed on first install.
sourceraw docstring

uninstall!clj

(uninstall!)

Uninstall the loader, restoring original clojure.core/load. Throws if called from within a lang-load on the current thread. Not safe to call concurrently from another thread while loading is active.

Uninstall the loader, restoring original clojure.core/load.
Throws if called from within a lang-load on the current thread.
Not safe to call concurrently from another thread while loading is active.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close