Liking cljdoc? Tell your friends :D

clojure.tools.analyzer.env


*env*clj

Global env atom Required options:

  • :namespaces an atom containing a map from namespace symbol to namespace map, the namespace map contains at least the following keys: ** :mappings a map of mappings of the namespace, symbol to var/class ** :aliases a map of the aliases of the namespace, symbol to symbol ** :ns a symbol representing the namespace
Global env atom
Required options:
 * :namespaces an atom containing a map from namespace symbol to namespace map,
   the namespace map contains at least the following keys:
  ** :mappings a map of mappings of the namespace, symbol to var/class
  ** :aliases a map of the aliases of the namespace, symbol to symbol
  ** :ns a symbol representing the namespace
sourceraw docstring

deref-envclj

(deref-env)

Returns the value of the current global env if bound, otherwise throws an exception.

Returns the value of the current global env if bound, otherwise
throws an exception.
sourceraw docstring

ensurecljmacro

(ensure env & body)

If env is not bound it binds it to env before executing the body

If *env* is not bound it binds it to env before executing the body
sourceraw docstring

with-envcljmacro

(with-env env & body)

Binds the global env to env, then executes the body

Binds the global env to env, then executes the body
sourceraw docstring

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

× close