Hi.
It would maybe help if you'd post some test code (deftest for the macro?),
if not also that macro that you have so far.

But, if you want to force evaluation you could maybe use *eval* but this
may not need apply in your case,
ie. maybe you want this:
=> (def a '(1 3 9))
#'runtime.q/a
=> a
(1 3 9)
=> *(var-get #'a)*
(1 3 9)
=> (var? #'a)
true
=> (= a (var-get #'a))
true




On Fri, Feb 15, 2013 at 1:44 PM, Jason Lewis <jasonlewi...@gmail.com> wrote:

> Hey, Clojure n00b here... I'm working with a macro that expects a vector
> and iterates over the contents with a `for` form. I had naively assumed
> that it would work equally well to pass it a var containing the vector, but
> instead it tries to iterate over the individual symbol and the output is
> munged.
>
> I also tried passing the fn call that I was using to build the vector,
> with no better results. Is there any way to force evaluation so the macro
> 'sees' the vector it expects instead of trying to work on the symbol or
> form that I pass it?
>
> Thanks,
>
> Jason Lewis
>
> Email          jasonlewi...@gmail.com
>
> Twitter        @canweriotnow <http://twitter.com/canweriotnow>
>
> Blog           http://decomplecting.org
>
> About         http://about.me/jason.lewis
>
> --
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Please correct me if I'm wrong or incomplete,
even if you think I'll subconsciously hate it.

-- 
-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to