Hi,

On 20 Nov., 13:30, Rich Hickey <[EMAIL PROTECTED]> wrote:
> Yes. Please use auto-gensyms (name#):
>
> `(let [frame# ~frame]
>    (.setTitle frame# ~title)
>    (.setVisible frame#)
>    frame#)

With this specific example, my intention was to show, how
using a macro where a function would do actually causes
a lot of trouble, like multiple evaluation, variable capture,
etc.

> ~' should be used for intentional capture only, i.e. rarely.

I think this was clearly stated in the wiki: only in rare cases,
well-defined situations and well documented.

> That section of the Wiki should be re-worked, IMO.

Yes. It is rather chaotic and not very clear over long
passages. I will tackle this as soon as I find out, who
has to approve my changes to the wiki....

Sincerely
Meikel


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