With clojure-in-clojure on the horizon (if not around the corner) I wonder if
an imports clause would be appropriate, and solve some of the complexities
of discerning between clojure and java/clr/javascript/objectivec/(go?)

(ns foo
   (uses clojure.contrib.repl-utils)
   (imports java.util [List Map Set]))

For the case of host-libraries import * is not even available,
so a single symbol for a class or a prefix symbol followed by
a vector is syntax simple enough for even myself to implement.

It might add some consistency if the above 'uses also worked at the repl as-is 
(import already works as a beginner would anticipate). So,

user> (uses clojure.contrib.Math) just worked without quoting. 

As for how many options are allowed with keywords, as long the essential cases
are provided for it will always be possible to layer on a my-better-ns* macro 
that adds more sugar (like recursive prefix lists etc.)

-- 
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

Reply via email to