Actually, simply creating a namespace imports all of java.lang. The `ns` 
macro is responsible only for referring clojure.core. That's been true 
since 1.0.

The only workaround right now is ns-unmap.

-S


On Wednesday, March 6, 2013 8:33:34 AM UTC-5, Jim foo.bar wrote:
>
> On 06/03/13 10:41, Phillip Lord wrote: 
> > Is there no equivalent to :refer-clojure for java.lang? 
>
> I think java.lang is imported by the ns macro...if you don't use it then 
> you don't get java.lang.* 
>
> Jim 
>

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to