Yes, unless you wrap it in another macro.

(defmacro a [] (vec (map (fn [x] `(load-string-here ~x)) ["1" "2" "3"
"4"])))

=> (a)
[1 2 3 4]

But it's still pretty useless, unless macros are to replace functions...

Jonathan

On Wed, Jun 22, 2011 at 8:20 AM, Meikel Brandmeyer <m...@kotka.de> wrote:

> Hi,
>
> note that this breaks down as soon as you don't provide a literal string.
> And if you provide a literal string, you can provide the form directly
> anyway...
>
> Sincerely
> Meikel
>
>
>  --
> 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
>

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