Re: import as a macro; dynamic imports?

2010-01-02 Thread Rich Hickey
On Fri, Jan 1, 2010 at 2:58 PM, Stuart Sierra the.stuart.sie...@gmail.com wrote: I should have brought this up before 1.1 was released, but I'm bothered by the change of clojure.core/import from a function to a macro. If I'm creating a namespace dynamically, I can't evaluate the name of the

import as a macro; dynamic imports?

2010-01-01 Thread Stuart Sierra
I should have brought this up before 1.1 was released, but I'm bothered by the change of clojure.core/import from a function to a macro. If I'm creating a namespace dynamically, I can't evaluate the name of the class I want to pass to import. The only way is to use undocumented Java functions,