diff options
author | Rich Hickey <richhickey@gmail.com> | 2008-12-02 14:24:17 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2008-12-02 14:24:17 +0000 |
commit | b40fbfbf820bce216ea1e0fbb961e2e4b2bd3cb0 (patch) | |
tree | 1780061aeaa04cdc5fb4f9dc3bed9f1e21b4e5e2 | |
parent | ce2583e0a1078e826ba7f058aa74e18526c67f59 (diff) |
fixed typo in deref doc
-rw-r--r-- | src/clj/clojure/core.clj | 10 |
1 files changed, 5 insertions, 5 deletions
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 |