On Jan 1, 2014, at 3:26 PM, Dave Tenny <dave.te...@gmail.com> wrote:
> When I use 'lein repl' in some project context and get to the REPL prompt, > there's an available but as yet not ... present ... namespace, i.e. (all-ns) > won't list the namespace(s) created in the lein project directory tree. > > Is there some API I can use to see a list these available but not active > namespaces? I’m not aware of one. > I'm guessing that looking at what's on the class path doesn't necessarily > tell me what namespaces might be USE-able via (use 'x). Walking the classpath including the contents of jar files would be a way to construct such a list of USE-able (or REQUIRE-able) namespaces. It would involve traversing the directory structure under each entry in the classpath and reading at least the first ns form in each candidate file (or jar entry). —Steve -- -- 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.