Liking cljdoc? Tell your friends :D

dime.var


create-vars!clj

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

defconstcljmacro

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

defn?clj

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

ns-vars->graphclj

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

remove-vars!clj

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

sym->sourceclj

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

vars->graphclj

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

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

× close