Is there a way to inject a method into clojure.core at lein repl startup?

Viewed 445

the :injections keyword is really useful. However, I am hoping to dynamically install a couple of functions in core for debugging purposes. How can this be done?

    :injections [(require 'spyscope.core)
                 (use '[cemerick.pomegranate :only (add-dependencies)])
                 (use '[clojure.tools.namespace.repl :only (refresh)])]

Ideally, I would want refresh to stay around to that I can use it everywhere

1 Answers
Related