On Dec 2, 8:43 am, Luke Amdor <[EMAIL PROTECTED]> wrote:
> The "@" symbol is a reader macro. It's a hard coded table so that when
> the reader comes across the @ symbol it knows to instead change it to
> a deref call. For eg,
>
> (def a (ref 0))
>
> (dosync (alter inc a))
>
> @a ;; is the same thing as
> (deref a)
>
Right, but the deref doc didn't mention vars, now it does.
Rich
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---