On Mar 13, 10:05 am, "Stephen C. Gilardi" <squee...@mac.com> wrote:
> Should we consider changing the canonical form for ns to use vectors  
> for all of its sequential sub-forms?

One thing to consider: "ns" is a bit special,
because :import/:use/:require/:load mimic the syntax and behavior of
the functions import/use/require/load.  So (:use ...) can be read,
casually, as a "call".

The "import" function also uses lists instead of vectors.

Just muddying the waters a bit. :)  I agree that vectors are, strictly
speaking, the more consistent choice.  But lists are not a bad
choice.  One could also ask for key-value arguments:

(ns com.example.foo
  :use [clojure.contrib.duck-streams]
  :import [[java.util Map ArrayList]])

But I don't think there's much to gain by changing it.

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
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
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