I was watching one of the presentation videos for Java programmers. Rich mentions that
ClassName. is a macro for (new ClassName), e.g., user> (macroexpand '(Object.)) (new Object) user> I was wondering how this can be implemented as a macro (couldn't find it in boot.clj). As far as I can see, this can't be done using defmacro since part of the macro name is variable i.e. the class name. Also, if someone could explain how it is possible that defmacro itself is a macro - this implies that there is some other, perhaps more powerful, way of defining macros. Can this be exploited? Thanks ;-) /krukow --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---