On Jan 5, 1:00 pm, Meikel Brandmeyer wrote:
> While these new forms are
> available, what would be the use of rewritten everything?
I'm not trying to rewrite anything, I'm just so thrilled about this
new language that I was (for once in my life) looking at the source
trying to study what was happening under the hood.
> The last form is translated to the second anyway.
>
> 1:1 user=> (macroexpand-1 '(.foo bar))
> (. bar foo)
That's where I failed, I didn't knew that Java method calls were
expanded like macros, thank you very much for the answer!
--~--~-~--~~~---~--~~
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---