Hello, I try to fill the gap from when I discovered clojure several months ago, and I'm trying to understand the lib vs namespace stuff.
I go straight to what I consider may be the primary source of documentation by calling (doc require), and I see this : " 'require loads a lib by loading its root resource. The root resource path is derived from the root directory path by repeating its last component and appending '.clj'. For example, the lib 'x.y.z has root directory <classpath>/x/y/z; root resource <classpath>/x/y/z/z.clj. The root resource should contain code to create the lib's namespace and load any additional lib resources. " Is it accurate ? In clojure's source, I can see src/clojure/ but no src/clojure/clojure.clj, and lots of namespaces defined in src/ clojure/ . And also, even after reading the doc, I'm not sure I fully understand the relationships between a lib and a namespace. Is it right to say : - a namespace corresponds to one and only one lib - a lib is composed of one and only one namespace ? If I'm wrong, could you please help me understand, maybe by giving me a URL I may have missed ? Regards, -- Laurent PETIT --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---