Below are my project’s dependencies. ☝ Notice the tangle property above.
{:paths ["src" "resources"]
:deps {org.clojure/clojure {:mvn/version "1.10.1"}
org.clojure/math.combinatorics {:mvn/version "0.1.6"}}}Here we can test out the included dependencies.
- First, run
org-babel-tangleso that the project’s dependencies are written todeps.edn- You’ll have to do this each time you add a dependency above.
- Next, run
org-babel-execute-src-blockin the below source block.- The resulting clojure session will use the created
deps.ednby default.
- The resulting clojure session will use the created
(ns math-test
(:require [clojure.math.combinatorics :as combo]))
(combo/cartesian-product [1 2] [3 4])