Hi everyone,

I have put together a another implementation of Cells. This one uses
agents and watchers, so it's asynchronous, unlike the original Cells
for Common Lisp. I've called it "auto-agents". It's in
clojure.contrib.auto-agent.

The idea is the same as Cells. You create a special variable (an "auto-
agent") whose value is defined by an expression. Whenever one of the
other variables (agent, atom, or ref) referenced in the expression
changes its value, the expression is automatically reevaluated and the
value of the auto-agent is updated.

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to