This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-11-22
Channels
- # 100-days-of-code (1)
- # adventofcode (21)
- # announcements (2)
- # beginners (44)
- # calva (1)
- # cider (2)
- # cljdoc (16)
- # cljs-dev (70)
- # cljsrn (29)
- # clojure (66)
- # clojure-austria (1)
- # clojure-europe (4)
- # clojure-finland (1)
- # clojure-hamburg (1)
- # clojure-italy (24)
- # clojure-nl (3)
- # clojure-uk (127)
- # clojurescript (30)
- # core-typed (3)
- # cursive (34)
- # data-science (2)
- # datomic (16)
- # duct (17)
- # editors (1)
- # emacs (4)
- # figwheel-main (4)
- # fulcro (40)
- # hoplon (2)
- # instaparse (5)
- # kaocha (4)
- # leiningen (1)
- # luminus (4)
- # nrepl (46)
- # off-topic (5)
- # onyx (2)
- # other-languages (55)
- # parinfer (3)
- # protorepl (4)
- # re-frame (33)
- # reagent (6)
- # reitit (13)
- # ring-swagger (5)
- # shadow-cljs (26)
- # spacemacs (4)
- # sql (8)
- # testing (27)
- # tools-deps (21)
- # yada (1)
I’m trying to get add-lib working with prepl. I’m using the latest add-lib branch and clojure:
clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.10.0-beta7"} org.clojure/tools.deps.alpha {:git/url "" :sha "f6c080bd0049211021ea59e516d1785b08302515"}}}' -J-Dclojure.server.repl="{:port 5556,:accept clojure.core.server/io-prepl}"
(let [cl (.getContextClassLoader (Thread/currentThread))
dcl (clojure.lang.DynamicClassLoader. cl)]
(.setContextClassLoader (Thread/currentThread) dcl))
is that how it’s supposed to work or wouldn’t it be nice if prepl did this for me like repl does? https://github.com/clojure/clojure/blob/b182982007df934394f0bc68b3a238ca9f200dd1/src/clj/clojure/main.clj#L389-L390
Hi guys I'm working on a project that extends
https://github.com/juxt/edge
which daisy-chains a bunch of small dep.edn
files together using
{:local/root "../edge.kick"}
I'm trying to get my head round how this plays with alias declarations
⚓
so I've just discovered that it doesn't aliases are only sampled at the root level
which implies to me that I have misunderstood the intention of :local/root
is there a description of what :local/root
should, and should not be used for
that you can point me at
I guess I'm trying to strong-arm deps into working like an OSGI style module system
and I'm wondering if that would be considered abusive
I’ve had similar ideas about module systems. In particular I have a nagging feeling that integrant/duct + deps.edn could be such a thing.
yes you are probably right
I think my confusion is this
:local/root
dependency allows you to see the internal development gubbbins of a dependency
which creates the temptation that you can manipulate those other aliases
but at some point you should expect to move that dependence to a fixed binary
therefore the thought process should always be How would I use this if it was a binary artefact