i think agents would be a better fit than refs.

as you said, you don't need transactions, since everything is sequential
anyway.

so whenever you need to change something, just send the change to the agent.

(send (:str player) #(+ % 1))

--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to