This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-15
Channels
- # announcements (13)
- # aws (6)
- # babashka (23)
- # babashka-sci-dev (6)
- # beginners (64)
- # calva (110)
- # cider (25)
- # cljs-dev (5)
- # cljsrn (8)
- # clojars (5)
- # clojure (20)
- # clojure-austin (1)
- # clojure-europe (77)
- # clojure-nl (1)
- # clojure-uk (3)
- # clojurescript (14)
- # cursive (7)
- # datahike (9)
- # datomic (13)
- # eastwood (15)
- # emacs (14)
- # figwheel-main (1)
- # fulcro (8)
- # graalvm-mobile (2)
- # graphql (2)
- # honeysql (2)
- # hyperfiddle (2)
- # introduce-yourself (4)
- # jobs (4)
- # joyride (4)
- # leiningen (4)
- # lsp (8)
- # minecraft (8)
- # off-topic (11)
- # polylith (18)
- # rdf (2)
- # reagent (3)
- # reitit (4)
- # remote-jobs (1)
- # shadow-cljs (39)
- # specter (7)
- # xtdb (3)
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.