Fork me on GitHub
#clojure-austin
<
2022-06-15
>
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 https://gist.github.com/mjdiloreto/9eca5584e394df07de1fd44fe1abc6ab. You have to view the raw version of the gist to see the properties.

👀 1
👏 1