And of course after I post this the original finally posts, sorry
about that, should have waited longer.

Chris G

On Nov 3, 3:05 pm, Kelsin <[EMAIL PROTECTED]> wrote:
> Howdy, I posted this a little while ago and it doesn't seem to have
> posted so I'm reposting. If this comes through twice I'm sorry for
> double posting.
>
> My first question is about the form: (:ant @p)
>
> How does :ant get to be used as a verb? Do all keywords expand to
> (@p :ant) if @p is a map or something like that? Couldn't find any
> reference to this on the site or group but I also don't know exactly
> what to call it so searches may have been doomed to fail from the
> start.
>
> My second question is about the send-off calls. When starting the
> program you can refer to animate by the symbol alone. Inside the agent
> function itself you need to refer to it as #'animate. Is this because
> animate isn't bound in the current thread but is root bound? If that's
> the case, why is this done rather than have this type of lookup be
> automatic? What is the problem with just the symbol name being used
> and using the root binding if the current thread doesn't have a
> binding (Obviously this question means nothing if I wrongly assumed
> why you need to use #' in the first place).
--~--~---------~--~----~------------~-------~--~----~
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