(bindings n)
Extract bindings using ns-publics
and using publics->bindings
the result.
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 using `ns-publics` and using [[publics->bindings]] the result. The vars returned by `ns-publics` (the map's values) are de-referenced, in the case of macros the `sci/macro` metadata is added.
(macro? v)
True if the var v
references a macro.
True if the var `v` references a macro.
(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)})`.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close