diff options
author | Rich Hickey <richhickey@gmail.com> | 2008-07-24 14:31:03 +0000 |
---|---|---|
committer | Rich Hickey <richhickey@gmail.com> | 2008-07-24 14:31:03 +0000 |
commit | a0a5d0c85702270d35fcce905b05cc533586e3a9 (patch) | |
tree | f5937a2b2b30fd054b1a421f9ca8a632da665c73 | |
parent | 8a6db525186d2c0b3f3e599d0b96551fa0d0d083 (diff) |
fixed doc typo
-rw-r--r-- | src/clojure/boot.clj | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clojure/boot.clj b/src/clojure/boot.clj index cecb8107..1c53114e 100644 --- a/src/clojure/boot.clj +++ b/src/clojure/boot.clj @@ -967,7 +967,7 @@ (defn agent "Creates and returns an agent with an initial value of state and an optional validate fn. validate-fn must be nil or a side-effect-free fn of - one argument, whwich will be passed the intended new state on any state + one argument, which will be passed the intended new state on any state change. If the new state is unacceptable, the validate-fn should throw an exception." ([state] (new clojure.lang.Agent state)) |