Skip to main content

with-bindings

macrov1.1

clojure.core/with-bindings

Available in:BBCLJ
(with-bindings [binding-map & body])
Takes a map of Var/value pairs. Installs for the given Vars the associated values as thread-local bindings. Then executes body. Pops the installed bindings after body was evaluated. Returns the value of body.

No examples yet. Be the first to add one!