I came across the term "root lib" when I googled on how to have one
lib with source in multiple files. But, it appears that this was just
discussion. I couldn't find the information I wanted on the main
clojure page.

Right now I have the two files "whale.achi.model.place.clj" and
"whale.achi.model.placeEvaluation.clj" that make up one name space
"whale.achi.model.place".
The first file is the "root" of the namespace.

I can get it to work if I add the statement (load "placeEvaluation")
at the end of the first file. But, I was trying to add this
information to the "load:" part of "ns" statement as is recommended.

The googled pages seem to recommend the directory layout of:

     1) whale.achi.model.place
        a) whale.achi.model.place.place.clj
        b) whale.achi.model.place.placeEvaluation.clj

I really don't like the need to have a directory above the two files.
The two files don't really constitute a "lib" in the usual sense, but
I want to just be able to split the code in one namespace into two or
more files that belong to the same namespace and have other namespaces
that need these files to just "use" the root namespace which would
then load in the other files needed to complete the namespace.

Any help would be appreciated.

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