I'm new to Clojure so this could very well be an easy question. I'm having an issue with the REPL while using Leiningen.
Previously, I had created an app
project while following a tutorial. When I would launch the REPL using lein repl
with that project, it would always put me in the project's core namespace automatically. Even though I was in that namespace, I could still access built-in resources e.g. (doc build-in-function-name)
, etc.
Now, I've created another non-app project and I seem to have lost this autoloading capability. I'm now being put into a user
namespace by default. Also, when I try to get access to my project's core namespace by doing (in-ns 'project.core)
, I lose access to build-in functions like doc
.
Can anyone explain what's going on here?