Skip to main content

binding

macrov1.0

clojure.core/binding

Available in:BBCLJCLJS
(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.

No examples yet. Be the first to add one!