You don't actually need to quote class names: (import com.test.Test) works. Of course if you're using the list syntax you do, to avoid calling the package as a function; but you can get around that as well by using a vector if you'd rather not quote: (import [com.test Test OtherTest])
On Mar 31, 5:12 am, Meikel Brandmeyer <[email protected]> wrote: > Hi, > > On 31 Mrz., 13:20, MohanR <[email protected]> wrote: > > > (import '(com.test.Test)) > > The correct syntax is (import 'com.test.Test) or (import '(com.test > Test)). Note the subtle difference. > > Sincerely > Meikel -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
