On Sep 5, 2008, at 10:08 PM, Stuart Sierra wrote: > On Sep 5, 2008, at 3:23 PM, Rich Hickey wrote: >> I didn't think about the plural angle - anyone else bothered by that? >> The alternative is defnamespace. > > Erg. Here, I think shorter is better. Maybe it's only once per file, > but you still have to type it every time you start a new file. If > people don't like the similarity to defn, then maybe just call it > "namespace". But every other namespace-related function uses "ns."
clojure/namespace already exists: returns the namespace string of a symbol or keyword. If it were available I think it would be a good alternative for clojure/defns. > By the way, what happened to "in-ns"? Couldn't that be the form used > for switching to a namespace that already exists? clojure/in-ns takes a symbol argument which must be quoted. clojure/ns doesn't require its argument to be quoted--it's part of the "easier to type" group of namespace-related functions. I see from the doc that clojure/in-ns creates the namespace if it doesn't exist. Is the intent for clojure/ns to be simply a wrapper for in-ns or should it give an error if the namespace doesn't already exist? --Steve --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---