Fork me on GitHub
Matthew DiLoreto14:06:33

For those who attended the literate programming presentation: I mentioned that I had to copy the cartesian-product function's definition into my document because I couldn't figure out how to use dependencies correctly. Well it turns out it's extremely simple - just create a deps.edn file and use org-babel normally. This works because cider looks for deps.edn when running with the clojure-cli option by default. This same approach would work with project.clj too if you were using leiningen. I created a minimal gist to demonstrate You have to view the raw version of the gist to see the properties.

👀 1
👏 1