> My question is how the first agent (agent nil) and *agent* used
> later in another nestedsend-offrelated?

Agents execute their function with *agent* bound to themselves, so the
example given chains itself. This is necessary because the function is
only passed in the value of the agent, not the agent itself. So the
first send-off is sent to (agent nil), and when the function is called
that agent send-offs itself.

> Also m after (fn is a function name so that it can be referred to
> later inside the same function?

yup


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