ClojureDocs

导航

名称空间

with-bindings*

clojure.core

从 1.1 开始提供 (源代码)
  • (with-bindings* 绑定-地图 f & args)
Takes a map of Var/value pairs. Installs for the given Vars the associated
values as thread-local bindings. Then calls f with the supplied arguments.
Pops the installed bindings after f returned. Returns whatever f returns.