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

macro?clj/s

(macro? v)

True if the var v references a macro.

True if the var `v` references a macro.
sourceraw 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)})`.
sourceraw 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.
sourceraw 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.
sourceraw docstring

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

× close