summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Grand <christophe@cgrand.net>2010-04-13 10:04:29 +0200
committerStuart Halloway <stu@thinkrelevance.com>2010-04-14 17:07:11 -0400
commit92e9c2d76f6b8d86789bc69496596a98d8b67228 (patch)
tree48fb5306dabdefae0e6c130f2641ac61cfc104b5
parenta99b3be7bab006037c7454ef87f3a5d6510703a6 (diff)
change docstring for delay to specifiy that deref forces. See #230
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
-rw-r--r--src/clj/clojure/core.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj
index 70acba9a..892eb081 100644
--- a/src/clj/clojure/core.clj
+++ b/src/clj/clojure/core.clj
@@ -553,7 +553,7 @@
;;;;;;;;;;;;;;;;at this point all the support for syntax-quote exists;;;;;;;;;;;;;;;;;;;;;;
(defmacro delay
"Takes a body of expressions and yields a Delay object that will
- invoke the body only the first time it is forced (with force), and
+ invoke the body only the first time it is forced (with force or deref/@), and
will cache the result and return it on all subsequent force
calls."
[& body]