On Wed, Nov 11, 2009 at 4:24 PM, John Harrop <jharrop...@gmail.com> wrote: > One question: how would Java class imports be dealt with? I think it should > be unified: > (ns foo > (uses java.io :only [File FileInputStream] :as io))
I think this is a bad idea. Java (or other host) classes are not Clojure functions, nor are host packages the same as Clojure namespaces. Trying to treat them the same (or worse yet not quite the same because of options that work for one but not the other) actually *increases* confusion, not decreases it. Unifying require and use makes sense because they do almost the same thing on exactly the same kinds of objects. import does something lese and should be left as its own form. --Chouser -- 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