On Fri, Feb 13, 2009 at 10:29 AM, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> That's really a matter of conventions. Both work, and you just have to
> correctly adjust the call to load :
>
> 1st layout :
> src/echo/test.clj
> src/echo/test/test-part2.clj
>
> Then you'll have (ns echo.test (:load "test/test-part2") in
> src/echo/test.clj
>
> 2d layout:
> src/echo/test.clj
> src/echo/test-part2.clj
>
> Then you'll have (ns echo.test (:load "test-part2") in src/echo/test.clj

Great, I have this working now!

I wonder what the rationale was for making it so namespaces need to be
quoted when using in-ns. They don't need to be quoted when using ns.
For example, I have

(ns com.ociweb.talk (:gen-class)) in one file

and

(in-ns 'com.ociweb.talk) in another.

I guess this is because it's conceivable one might want to use in-ns
with a variable, but that's not the case with ns.

-- 
R. Mark Volkmann
Object Computing, Inc.

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