On Nov 20, 4:18 pm, Rock <[EMAIL PROTECTED]> wrote:
> Another question: I was wondering why there seem to be no macrolet or
> symbol-macrolet macros in the language. Is it part of the language
> design or will they be added in future releases?

It's been discussed, but not implemented:
http://groups.google.com/group/clojure/browse_thread/thread/db324a87e967537a/fed7356d126bc720

Since Clojure macros are just functions with {:macro true} metadata,
you might be able to do macrolets with let:

UNTESTED CODE:
(defn my-function [x y z]
   (let [ff (with-meta (fn [x] ...) {:macro true})]
     ...))

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