From b40fbfbf820bce216ea1e0fbb961e2e4b2bd3cb0 Mon Sep 17 00:00:00 2001 From: Rich Hickey Date: Tue, 2 Dec 2008 14:24:17 +0000 Subject: fixed typo in deref doc --- src/clj/clojure/core.clj | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/clj/clojure/core.clj b/src/clj/clojure/core.clj index 641c12be..6a160a4a 100644 --- a/src/clj/clojure/core.clj +++ b/src/clj/clojure/core.clj @@ -1106,11 +1106,11 @@ ([x validate-fn] (new clojure.lang.Ref x validate-fn))) (defn deref - "Also reader macro: @ref/@agent/@var/@atom Within a transaction, returns the - in-transaction-value of ref, else returns the - most-recently-committed value of ref. When applied to an var, agent ot atom, - returns its current state." - [#^clojure.lang.IRef ref] (. ref (get))) + "Also reader macro: @ref/@agent/@var/@atom Within a transaction, + returns the in-transaction-value of ref, else returns the + most-recently-committed value of ref. When applied to a var, agent + or atom, returns its current state." + [#^clojure.lang.IRef ref] (. ref (get))) (defn set-validator "Sets the validator-fn for a var/ref/agent/atom. validator-fn must be nil or a -- cgit v1.2.3-70-g09d2