user=> (def c1 '(proxy [java.util.Observer] [] (update [o arg] (println arg)))) #'user/c1 user=> (def c2 (list (first (first (next c1))) (next (next c1)))) #'user/c2 user=> (def c3 (first (next c2))) #'user/c3 user=> (def c4 (first (next c3))) #'user/c4 user=> (cons 'observer (list (first c2) [] c4)) (observer java.util.Observer [] (update [o arg] (println arg)))
and now just the macro :) -- 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