Fork me on GitHub
#unrepl
<
2017-09-22
>
cgrand09:09:38

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

cgrand16:09:37

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

cgrand16:09:47

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