On 17 mei, 19:25, "Eric Schulte" <schulte.e...@gmail.com> wrote:
> 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
>

Hey Eric,

This looks like a very tight implementation indeed! I'll take it for a
spin soon.

Thanks

Steven

-- 
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

Reply via email to