I’m using Leiningen (for the first time) to manage an app my writing. So far I’ve defined the project dependencies, installed the deps in the project lib directory, and I’ve defined a function. When I run lein repl from the project root and then call the function I’ve defined, I get the error unable to resolve symbol. Anyone know what I’m doing wrong and how to correctly run my app via Leiningen? Thanks.
I’m using Leiningen (for the first time) to manage an app my writing. So
Share
from the leiningen repl you will have to switch to the namespace your function was defined in with the
in-nsmacro.then the function should be available
you could also
usethat namespace from the repl to include it in the default (user) namespace.after that you may want to consider looking into the
lein run,lein uberjar, andlein jarleiningen tasks.