Changes for clojure.core/add-watch

Daniel Brotsky on Fri, 28 Dec 2012
;; Add useful context to watcher function:
(defn watch-agent [_agent context]
    (let [watch-fn (fn [_context _key _ref old-value new-value] ;...
               )] 
        (add-watch _agent nil (partial watch-fn context))))
zkim on Sun, 26 Sep 2010
;; Add useful context to watcher function:
(defn watch-agent [_agent context]
    (let [watch-fn (fn [_context _ref _key old-value new-value] ;...
               )] 
        (add-watch _agent nil (partial watch-fn context))))
devijvers on Sat, 17 Jul 2010
Add useful context to watcher function:
(defn watch-agent [_agent context]
    (let [watch-fn (fn [_context _ref _key old-value new-value] ;...
               )] 
        (add-watch _agent nil (partial watch-fn context))))
devijvers on Sat, 17 Jul 2010
Add useful context to watcher function:

(defn watch-agent [_agent context]
    (let [watch-fn (fn [context _ref _key old-value new-value] ;...
               )] 
        (add-watch _agent nil (partial watch-fn context))))