Isn't this a case of wrapping a Java API needlessly?

What's so bad about: (SwingUtilities/invokeLater my-func) ?
-- Aaron



On Sat, Jun 13, 2009 at 5:59 PM, Kevin Downey<redc...@gmail.com> wrote:
>
> On Sat, Jun 13, 2009 at 2:55 PM, Meikel Brandmeyer<m...@kotka.de> wrote:
>> Hi,
>>
>> Am 13.06.2009 um 23:29 schrieb Meikel Brandmeyer:
>>
>>> (defmacro get-on-edt
>>>  [& body]
>>>  `(get-on-edt* (fn [] ~body)))
>>
>> Of course ~...@body instead of ~body...
>>
>> Sincerely
>> Meikel
>>
>>
>
> I know you (Meikel) already fixed it, but I guess it is a good idea to
> explain that have a macro expand to a #() form is a bad idea.
> the original do-on-edt macro did expand to a #() form, which means if
> you passed in another #() form you would end up with nested #() forms,
> which causes an exception.
>
> --
> And what is good, Phaedrus,
> And what is not good—
> Need we ask anyone to tell us these things?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
Note that posts from new members are moderated - please be patient with your 
first post.
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