On Sep 23, 11:11 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Sep 23, 10:47 am, Stuart Sierra <[EMAIL PROTECTED]>
> wrote:
> > Cool, thanks Rich!  This will be fun to play with.  One question -- is
> > it possible to get the previous value of the agent (before the action)
> > from within the callback fn?
>
> It would be possible, but I'd like to hear more about why it is a good
> idea.

Only use I can think of is calculating deltas, e.g. "How much did this
value change?  If it changed by more than X, do ..."  I guess the
action itself could do that, instead.

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