I'm trying to figure out if I can use tools.namespace.track for a project but I don't understand the :unload :load functionality.
(require '[clojure.tools.namespace.track :as ns-track])
;; define a empty tracker and add some dependencies
(def tracker (-> (ns-track/tracker)
(ns-track/add '{alpha #{beta}
beta #{gamma delta}})))
;; now add a new dependency and check what we need to unload and load
(-> tracker
(ns-track/add '{epsilon #{}})
(select-keys [:clojure.tools.namespace.track/unload
:clojure.tools.namespace.track/load]))
#:clojure.tools.namespace.track{:unload (epsilon alpha beta),
:load (epsilon beta alpha)}
I don't understand why alpha and beta are required to unload/load but maybe I'm missing something.
I'm using the latest version.
Thanks!