Reading the clojure API for import I see that :import in the ns macro is preferred to import, however when i'm coding using swank/slime/emacs, I can't c-x c-e the (ns .. ) s-expression to get the deps into the repl, but using (import ...) I can.
Whats the reason why :import is preferred over import, and is there fast way to import the deps from a (ns ...) s-expr from my .clj file to the repl? (Same question can be generalized to :use and :refer.. thanks)
Here is my preferred workflow:
Now your Slime REPL should be in the namespace you're working on, and you can add to the ns
declaration at the top and just C-c C-k as you change things (including your ns
imports).