ClojureDocs

Nav

Namespaces

with-local-vars

clojure.core

Available since 1.0 (source)
  • (with-local-vars name-vals-vec & body)
varbinding=> symbol init-expr
 Executes the exprs in a context in which the symbols are bound to
vars with per-thread bindings to the init-exprs.  The symbols refer
to the var objects themselves, and must be accessed with var-get and
var-set