This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-06-02
Channels
- # announcements (1)
- # asami (89)
- # aws (10)
- # babashka (41)
- # beginners (71)
- # calva (25)
- # cider (3)
- # clj-kondo (65)
- # cljdoc (15)
- # cljs-dev (3)
- # cljsrn (8)
- # clojure (56)
- # clojure-europe (44)
- # clojure-italy (1)
- # clojure-nl (2)
- # clojure-uk (48)
- # clojured (7)
- # clojurescript (17)
- # conjure (6)
- # cursive (3)
- # datomic (9)
- # emacs (11)
- # events (3)
- # fulcro (3)
- # helix (3)
- # honeysql (7)
- # hugsql (6)
- # introduce-yourself (2)
- # jobs (2)
- # kaocha (4)
- # luminus (1)
- # nrepl (2)
- # off-topic (10)
- # pathom (7)
- # philosophy (3)
- # polylith (27)
- # reagent (18)
- # reitit (3)
- # remote-jobs (7)
- # reveal (3)
- # shadow-cljs (9)
- # slack-help (5)
- # tools-deps (9)
- # vim (48)
Not sure what :use-top means, but I assume it should all delegate to the 1.3.4 version below. How else can I debug? You wrote in a previous chat to start a clj
repl and run “check `( "clojure/tools/reader__init.class")` to figure out the path of what is being used, but that doesn’t work for me, you did say “require it first” but I think that expression is missing a function in the archive?
clj -A:dev:test -Stree | grep tools.reader
X org.clojure/tools.reader 1.0.0-beta1 :use-top
X org.clojure/tools.reader 1.0.0-beta3 :use-top
X org.clojure/tools.reader 1.3.2 :use-top
X org.clojure/tools.reader 1.3.3 :use-top
X org.clojure/tools.reader 1.3.2 :use-top
X org.clojure/tools.reader 1.3.2 :use-top
X org.clojure/tools.reader 0.7.2 :use-top
X org.clojure/tools.reader 1.1.1 :excluded
X org.clojure/tools.reader 1.1.1 :excluded
X org.clojure/tools.reader 1.3.2 :excluded
X org.clojure/tools.reader 1.3.2 :excluded
org.clojure/tools.reader 1.3.4
X org.clojure/tools.reader 1.0.5 :use-top
I think that helped me solve the problem, yea it was using a version from a nested dependency that I was able to exclude from the package I depend on
that’s a great trick to figure it out 🙏:skin-tone-2: teach a man to fish etc etc. thank you
I forget, does clojurescript have an "explode" operator? Like I can use & to collect arguments but how do I uncollect them?
This is in the context of reagent in this particular case, it's warning me I should add keys to a list that is very much static, just because I passed children with & to a component.
Hmmmm alllmost what I want. Basically I want
(defn foo [& args]
(into [:div [:p "hi"]] args [:p "footer"]))
Gets a bit ugly if you first conj footer into args but I guess it'd work..