On Mon, Dec 15, 2008 at 10:42 PM, Mike Perham <mper...@gmail.com> wrote:
>
> Why do we have to do this?
>
> (in-ns 'myns)
> (clojure/refer 'clojure)
>
> Java automagically imports java.lang.  Shouldn't Clojure automagically
> map the core namespace?

It does if you use the 'ns' macro (depending on whether you specify
:refer-clojure or not).  However 'in-ns', 'refer', 'require', and
'use' are lower-level functions and for use in the REPL.

--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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to