Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.prose.alpha.document.sci.bindings


bindingsclj/smacro

(bindings n)

Extract bindings by using publics->bindings on the result of ns-publics.

The vars returned by ns-publics (the map's values) are de-referenced, in the case of macros the sci/macro metadata is added.

Extract bindings by using [[publics->bindings]] on the result of `ns-publics`.

The vars returned by `ns-publics` (the map's values) are de-referenced, in the case of macros
the `sci/macro` metadata is added.
raw docstring

macro?clj/s

(macro? v)

True if the var v references a macro.

True if the var `v` references a macro.
raw docstring

make-ns-bindingsclj/smacro

(make-ns-bindings & nss)

Make a namespaces bindings map. Typically used as (sci/init {:namespaces (make-ns-bindings ns1 ns2)}).

Make a namespaces bindings map.
Typically used as `(sci/init {:namespaces (make-ns-bindings ns1 ns2)})`.
raw docstring

publics->bindingsclj/s

(publics->bindings m)

Make a sci bindings map from the result of a ns-publics result.

The vars are de-referenced and in the case of macros the sci/macro metadata is added.

Make a sci bindings map from the result of a `ns-publics` result.

The vars are de-referenced and in the case of macros the `sci/macro` metadata is added.
raw docstring

var->bindingclj/s

(var->binding v)

De-reference a var and add the sci/macro metadata if needed.

De-reference a var and add the `sci/macro` metadata if needed.
raw docstring

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

× close