On 26.06.2009, at 15:22, Michele Simionato wrote:

> Finally, as an unrelated question, is there an equivalent of macrolet
> in Clojure?

Not in Clojure itself, but there is an implementation in an external  
library, clojure.contrib.macro-utils:
http://github.com/richhickey/clojure-contrib/blob/ 
82cf0409d0fcb71be477ebfc4da18ee2128a2ad1/src/clojure/contrib/ 
macro_utils.clj

Concerning your other questions, I think most of them have been  
answered already. In general, the main difference between macros in  
Clojure and Common Lisp comes from the fact that Clojure has  
namespaces and both namespace-qualified and unqualified symbols. This  
takes care of many of the typical problems with non-hygienic macros  
in Common Lisp, while still permitting intentional variable capture.  
It's a pretty neat design once you have understood all the details!

Konrad.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
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