I think your unquote is okay.  ClojureQL does something similar.

However, my gut says this should be in a doseq, not a for statement.
Could be totally wrong, tough.

My $.02

Sean

On Jul 6, 2:39 pm, Mike <cki...@gmail.com> wrote:
> Newbie question here.  Probably answered in Stu's book, but I forgot
> it at home today.
>
> is:
>
> (for [x [1 2 3]] `(some-symbol ~x))
>
> dangerous?  I mean, assuming that some-symbol is bound and all.  At
> the REPL I get
>
> ((user/some-symbol 1) (user/some-symbol 2) (user/some-symbol 3))
>
> which is what I'm interested in getting, but somehow the fact that
> "for" is a macro and I'm escaping x assuming it's there is
> disconcerting.
>
> Thanks for any style tips...
> Mike
--~--~---------~--~----~------------~-------~--~----~
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