From 2306eea7802afe66bdb9ecbdb4878ed406d883a3 Mon Sep 17 00:00:00 2001 From: Stuart Halloway Date: Fri, 10 Aug 2012 14:47:02 -0400 Subject: [PATCH] correct docstring for deliver --- src/clj/clojure/core.clj | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj index 7fdfd46..51ec477 100644 --- a/src/clj/clojure/core.clj +++ b/src/clj/clojure/core.clj @@ -6339,8 +6339,9 @@ (defn deliver "Alpha - subject to change. - Delivers the supplied value to the promise, releasing any pending - derefs. A subsequent call to deliver on a promise will throw an exception." + First call delivers the supplied value to the promise, releases any pending + derefs, and returns the promise. Subsequent calls to deliver on a promise + have no effect, and return nil." {:added "1.1" :static true} [promise val] (promise val)) -- 1.7.3.5