Skip to main content

with-open

macrov1.0

clojure.core/with-open

Available in:BBCLJ
(with-open [bindings & body])
bindings => [name init ...] Evaluates body in a try expression with names bound to the values of the inits, and a finally clause that calls (.close name) on each name in reverse order.

No examples yet. Be the first to add one!