On Wed, Jul 7, 2010 at 4:12 AM, Cachou <tangtong...@gmail.com> wrote:

> Another way:
>
> suppose test-list -> (list 1 2 3)
>
> `(max ~...@test-list) can translate the form to what you want
>
> so you can use eval or define a macro to handle it.
>
>
>
> But, most of the time, it is a bad idea.
(Except if you are in situations that call for that)
eval is very rarely useful in a program.

And doing this in a macro probably won't do what you want, except if
test-list is known at compile time.

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