Hi Steven, I recently put together a propagator/cell system using Clojure's actors/watchers. The code for implementing a concurrent propagator system actually came out to a little less than a single page. Take a look at the following for the full implementation.
http://gist.github.com/403987 Here's an example usage taking square roots using the Heron approximation. http://gist.github.com/403990 This was all done with the following versions -- take from the lein project.clj file. --8<---------------cut here---------------start------------->8--- (defproject propagator "1.0.0-SNAPSHOT" :description "Concurrent propagator system" :dependencies [[org.clojure/clojure "1.1.0-alpha-SNAPSHOT"] [org.clojure/clojure-contrib "1.0-SNAPSHOT"] [vijual "0.1.0-SNAPSHOT"] [ring "0.2.0"]] :dev-dependencies [[leiningen/lein-swank "1.0.0-SNAPSHOT"]]) --8<---------------cut here---------------end--------------->8--- Best -- Eric Steven Devijver <steven.devij...@gmail.com> writes: > I'm experimenting with cells in clojure and am currently using the > "lazy" branch for this. However, I'm getting some strange behavior. > > So my question is: which branch should I be using if I want to test- > drive the watcher feature? > > Thanks -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en