Clojure Template

Remix this to get started with Clojure 1.10.0-beta8 and add-lib.

{:deps
 {org.clojure/clojure {:mvn/version "1.10.0-beta8"}
  org.clojure/tools.deps.alpha
  {:git/url "https://github.com/clojure/tools.deps.alpha.git"
   :sha "f6c080bd0049211021ea59e516d1785b08302515"}}}
deps.edn
Extensible Data Notation

You can add depedencies by modifying the deps.edn above (requires a runtime restart) or add them at runtime using add-lib.

(use 'clojure.tools.deps.alpha.repl)
(clojure-version)
"1.10.0-beta8"

You can add depdencies at runtime:

(add-lib 'org.clojure/core.async {:mvn/version "0.4.490"})
true
(require '[clojure.core.async :as async])
(async/timeout 100)
4[clojure.core.async.impl.channels.ManyToManyChannel,"0x1f231b5d","clojure.core.async.impl.channels.ManyToManyChannel@1f231b5d",{1}]
© 2018 Nextjournal GmbH