Today, when I was writing some code, which is a macro writing a macro,
I felt strange that it never work.. So I decided to examine existing
code from 'On Lisp'
Below code is copied from 'On Lisp'. I just changed , to ~. But this
code does not work in Clojure.

(defmacro abbrev [short long]
  `(defmacro ~short [& args]
     `(~'~long [EMAIL PROTECTED])))

Is there any important issue what I am overlooking when writing macros
in Clojure? Any help appreciated.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to