(create-vars! realized-graph)
(create-vars! realized-graph
{:keys [ns-prefix var-graph] :or {ns-prefix "injected"}})
Create vars (and namespaces) for realized injectables, returning a collection of fully-qualified created var names.
Create vars (and namespaces) for realized injectables, returning a collection of fully-qualified created var names.
(defconst sym & more)
Define a function (like with clojure.core/defn) to create a singleton. All arguments must be inject-annotated.
Define a function (like with clojure.core/defn) to create a singleton. All arguments must be inject-annotated.
(defn? df)
Return true if argument is a var created using defn, false otherwise.
Return true if argument is a var created using defn, false otherwise.
(ns-vars->graph ns-symbols)
(ns-vars->graph graph ns-symbols)
Given a bunch of namespace symbols, scan them for public vars that may be injected with dependencies and return a map of keywordized-name/var pairs. Only public vars with at least one inject annotation are included.
Given a bunch of namespace symbols, scan them for public vars that may be injected with dependencies and return a map of keywordized-name/var pairs. Only public vars with at least one inject annotation are included.
(remove-vars! fully-qualified-var-names)
Remove the vars (and namespaces) indicated by specified fully-qualified var names.
Remove the vars (and namespaces) indicated by specified fully-qualified var names.
(sym->source ns-sym var-sym dep-sym)
Given ns/var/dependency symbols, return the corresponding source - fully-qualified var name as a symbol. If not found, return nil.
Given ns/var/dependency symbols, return the corresponding source - fully-qualified var name as a symbol. If not found, return nil.
(vars->graph vars)
(vars->graph graph vars)
Given a bunch of vars, return a map of keywordized-name/var pairs.
Given a bunch of vars, return a map of keywordized-name/var pairs.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close