This must be something really stupid I'm doing...

If I run a vanilla clojure repl via java -jar clojure-xxx.jar, then
agents do what I'd except. Ditto using Leiningen's generated
standalone swank-clojure server.

If I do a "lein repl" or connect to a "lein swank" in a simple
project, then agents don't update with sent values. Even the simplest
example like

(def a (agent 0))
(send a (fn [_] 99))

doesn't cause any change.

I guess something's up with the agent thread pool. Should I expect
proper agent behaviour inside a lein session? Am I missing a
project.clj configuration option?

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