2009/11/11 Andrew Boekhoff <boekho...@gmail.com>: >> > (:uses [clojure.core :exclude [read]) >> > [clojure.contrib.graph] >> > [clojure.contrib.fcase] >> > [clojure.contrib.stream-utils :as su] >> > [clojure.contrib.def :refer-all true] >> > [clojure.contrib.except :refer-all true] >> > [clojure.contrib.server-socket :refer-all true] >> > [clojure.contrib.lazy-xml :refer-all true] >> > [clojure.contrib.java-utils :only [as-str]] >> > [clojure.stacktrace :only [root-cause]] >> > [clojure.walk :only [postwalk]]) > > +1 > > As a thought (which may offend some fans of explicit delimiters), > dropping the brackets and delimiting on symbols could be an option. > > (ns foo > (uses clojure.contrib.graph > clojure.contrib.stream-utils :as su > clojure.contrib.java-utils :only [as-str]))
+1 on giving up on the extra vectors, since they give nothing more if the dsl becomes that simple (and I also like it becomes that simple !). One question, to be sure to correctly understand: only one optional option is allowed after the symbol of a namespace ? (that is possible options are considered mutually exclusive ?) Also, I thing it is not too complicated for users to understand that : * either they don't provide an option and the behaviour defaults to [ last segment of the ns, or what chouser / Christophe suggest ] * either they provide an option, so the optional behaviour does not apply, and it's the provided option that applies My 0.02 €, -- Laurent -- 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