unrepl 2017-09-22

Bridges can be seen either: β€’ as a mean to bring unrepl to clojure 1.7 (not sure it’s that important) β€’ as an interim solution to use unrepl in a nrepl ecosystem

πŸ‘ 1

(defmacro ensure-ns [[fully-qualified-var-name & args :as expr]]
  `(do
     (require β€˜~(symbol (namespace fully-qualified-var-name)))
     ~expr))

(ensure-ns (my.favorite/macroexpand-all (....))) would load on demand (through the sideloader) the my.favorite ns.