load jar in repl
I have been studying clojure for a few days, but I need to write test code in files before using lein run to test it, which is definitely productiveless.
One way to load a jar in repl
1 | |
New version of clojure deprecated the use to make it more consistant to import a package.
Since loading all functions into current namespace will result into a bunch of confliction problems.
So it is recommended to use require.
By using require with :refer and :all options, you could achieve the same work in a more flexible and consistant way.
1 | |
load jar in repl
https://rug.al/2014/2014-12-15-load-jar-in-repl/