I have a Clojure applications with different files, different namespaces and I have imports of classes within those files/ namespaces.
lets say (import java.io File) (import thepackage SomeClass) Is it possible to lazy load the imports of the class. For example, if I start my app, I will get an error if thepackage.SomeClass is unavailable. Even though I haven't instantiated an Object of SomeClass type. Is it possible to dynamically set a referance to SomeClass and then do the import. E.g. 1. Launch Clojure application 2. Do: Class.forName("thepackage.SomeClass") ... ... 3. and then do the lazy import of (import thepackage SomeClass) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---