ClojureDocs

导航

命名空间

with-local-vars

clojure.core

自 1.0 起可用 (源代码)
  • (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