ClojureDocs

导航

命名空间

绑定

clojure.core

自 1.0 起提供 (源代码)
  • (binding bindings & body)
binding => var-symbol init-expr
 Creates new bindings for the (already-existing) vars, with the
supplied initial values, executes the exprs in an implicit do, then
re-establishes the bindings that existed before.  The new bindings
are made in parallel (unlike let); all init-exprs are evaluated
before the vars are bound to their new values.