On Tue, Oct 21, 2008 at 2:20 PM, Krukow <[EMAIL PROTECTED]> wrote: > > 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).
The ClassName. syntax is a special form documented here: http://clojure.org/java_interop There is special reader support for it. It cannot, and isn't, implemented as a macro, which is why you couldn't find it in boot.clj. It is implemented in Java. HTH, - J. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---