Hello Ken, thanks for your explanations. It seems that you basically
outlined a strategy that can be used to implement that feature.
Very good! :-)

Am 05.05.2011 02:21, schrieb Ken Wesson:
As for concerns that this kind of extension might mask common macro
errors, adding some *warn-on-foo* option to generate warnings when
"unusual" kinds of object literal were encountered by eval/the
compiler would hopefully address such.

Yes, that’s what I thought too, when I read about Chris Perkins’
concerns. Let the default behaviour be an error message as it now
is, but perhaps a more useful one, and let us have an option in
defmacros attr-map or in a global switch to tell the compiler, or
macroexpander here: “yes, I really want to embed a literal object
in the code”.

--
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
Note that posts from new members are moderated - please be patient with your 
first post.
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

Reply via email to