Re: arguments passed to a macro

2014-06-06 Thread Phillip Lord
Christopher Howard writes: > 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 examp

Re: arguments passed to a macro

2014-06-05 Thread James Reeves
wrote: > 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))

arguments passed to a macro

2014-06-05 Thread Christopher Howard
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