The problem with your quote is that you want to only quote the list but also eval the values in the list, well I think create a list w/o function call. (quote) as a special form will evaluate nothing... but you can force evaluation... :D
user=> (type (first `(~java.lang.String))) ; ! backquote ;=> java.lang.Class So you better understand ` (backquote) that act as ' (quote), BUT evaluates ~ (unquote) and splice-unquotes. If you'd try usig quote the same way, it doesn't work : user=> (type (first '(~java.lang.String))) ;=> clojure.lang.PersistentList (?????) It begins clear if you ask : user=> '(~java.lang.String) :=> ((clojure.core/unquote java.lang.String)) With the quote the unquote is not evaluated... -- -- 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.