Hi,

On Feb 15, 6:49 am, Аркадий Рост <arkr...@gmail.com> wrote:

> ok...Then what was the reason to use map instead of vector as usually?

with-bindings* is a low-level function. It pushes the given map of var/
values onto the stack of thread local bindings and takes care to
remove it correctly after the given function returned. Unless you
compute your binding map programmatically you want to use binding
instead!

(def a 5)
(binding [a 1] a)

Sincerely
Meikel

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to