Is there a trick for "pre-expanding" some of the arguments passed to a
macro? Say you wanted to do this

code:
--------
(def swing-imports '(javax.swing JFrame JButton ImageIcon JPanel))

(ns example.myprogram
  (:import swing-imports))
  ...
--------

ns will complain that it can't find the "swing-imports" class.

I've been trying various things I thought might work (like backtick
evaluation and evals) but haven't made progress.

-- 
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/d/optout.

Reply via email to