On Sat, Sep 6, 2008 at 6:48 PM, Rich Hickey <[EMAIL PROTECTED]> wrote:
>
> I've applied this patch (SVN rev 1017).
>
> ns should be used in only one file. in-ns should still be used in
> subsidiary files and to change *ns* at the repl.

Also you mentioned in IRC (but not here I think) that ns and in-ns
have special resolution rules, so that you never have to say
clojure/ns or clojure/in-ns:

user=> (in-ns 'foo)
#<Namespace: foo>
foo=> (prn "hi")
java.lang.Exception: Unable to resolve symbol: prn in this context
foo=> (in-ns 'user)      ; <-- but this works fine
#<Namespace: user>
user=>

I've updated zip-filter and mmap in clojure.contrib to use the new
format.  I like it.  It's such a relief to be able to rely on the
availability of lib.clj goodness, and the ns macro is a very pleasant
way to use it.

--Chouser

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

Reply via email to