Skip to content

clojure.core/with-local-vars

View this page on ClojureDocs

Type: macro Added: Clojure 1.0 Examples: 3 Runnable: 0
([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

Examples

by jafingerhut on . May have evaluation errors.
by didibus on . May have evaluation errors.
by char16t on . May have evaluation errors.

See also


Content from the matching ClojureDocs page, with authors credited on each contribution.