Issue using agent under 1.3 and 1.4-snapshot or perhaps just my lack of understanding

2011-12-16 Thread Graham
Hi, learning clojure and came across some code discussing swing and a code for a flipper as below (defn new-flipper [] (agent {:total 0, :heads 0, :running false, :random (java.util.Random.)})) (defn calculate [state] (if (:running state) (do (send *agent*

Re: Issue using agent under 1.3 and 1.4-snapshot or perhaps just my lack of understanding

2011-12-16 Thread Stuart Sierra
Discussed here: https://groups.google.com/forum/#!topic/clojure/1qUNPZv3OYA/discussion -- 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 -