Hi,
I am new to macros in general but am having a hard time trying to make
a macro that wraps proxy. I am trying to convert the following:
(proxy [java.util.Observer] []
(update [o arg]
(println arg)))
Is what i originally have but I want to convert it using a macro to:
(observer java.util.Observer []
(update [o arg]
(println arg)))
I am having a hard time getting access to the arg parameter on the
update method I am implementing outside of proxy.
If anyone could help that would be great.
Thanks,
Adam
--
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