summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Sierra <mail@stuartsierra.com>2009-09-03 11:52:53 -0400
committerChouser <chouser@n01se.net>2009-09-28 11:57:56 -0400
commitff116fb3a986334e77bc0521167fe89c8e27313d (patch)
tree0b2148cad79312a7359215eb8f2dfe56c610bc66
parent868f865bfc5445bea6d6092bc780f05ab0d23c21 (diff)
core.clj: binding doc string now says it's parallel, fixes #152
Signed-off-by: Chouser <chouser@n01se.net>
-rw-r--r--src/clj/clojure/core.clj4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj
index 4d915eaa..c32d4362 100644
--- a/src/clj/clojure/core.clj
+++ b/src/clj/clojure/core.clj
@@ -1196,7 +1196,9 @@
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."
+ 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."
[bindings & body]
(assert-args binding
(vector? bindings) "a vector for its binding"