It has nothing to do with lists vs vectors.  In Clojure 1.0, `import` was a 
function, so its arguments always had to be quoted to avoid being 
evaluated.  In either 1.1 or 1.2, `import` became a macro and quoting became 
optional.

The docstring for `import` specifies that it accepts symbols (fully 
qualified class name) or lists (package name followed by 1 or more class 
names).  The fact that vectors also work in `import` is an implementation 
detail and should not be relied upon.

-Stuart Sierra
clojure.com

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