This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-18
Channels
- # aleph (1)
- # announcements (31)
- # babashka (9)
- # babashka-sci-dev (36)
- # beginners (72)
- # calva (20)
- # clj-kondo (99)
- # cljsrn (1)
- # clojure (77)
- # clojure-europe (33)
- # clojure-nl (4)
- # clojure-norway (12)
- # clojure-uk (4)
- # clojurescript (23)
- # cursive (2)
- # datascript (5)
- # events (1)
- # fulcro (3)
- # honeysql (3)
- # inf-clojure (82)
- # interop (2)
- # kaocha (10)
- # lsp (15)
- # meander (1)
- # missionary (10)
- # off-topic (22)
- # pathom (4)
- # pedestal (3)
- # polylith (20)
- # re-frame (10)
- # react (4)
- # reagent (4)
- # reitit (27)
- # ring-swagger (1)
- # shadow-cljs (34)
- # specter (3)
- # sql (1)
- # testing (5)
- # tools-deps (22)
- # vim (12)
Specter 1.1.4 released which adds compatibility with babashka 0.7.8+:
(require '[babashka.deps :as deps])
(deps/add-deps '{:deps {com.rpl/specter {:mvn/version "1.1.4"}}})
(require '[com.rpl.specter :as s])
(s/transform [(s/walker number?) odd?] inc {:a 1 :b [1 2 3]}) ;;=> {:a 2, :b [2 2 4]}

Meander:
bash <(curl ) --version 0.7.9-SNAPSHOT --dir .
(require '[babashka.deps :as deps])
(deps/add-deps '{:deps {meander/epsilon {:mvn/version "0.0.650"}}})
(require '[meander.epsilon :as m])
(m/find [1 2] [?x ?y] ?y [?x ?y ?z] ?y) ;;=> 2
Nice! did you have to change something in meander codeline? I tried with nbb and it failed...
npx nbb -cp (clojure -A:nbb -Spath) -e "(require '[meander.epsilon :as m])"
----- Error --------------------------------------
Message: No matching clause: require-macros
No matching clause: require-macros
and in my deps.edn
1 │ {:paths ["scripts"]
2 │ :aliases {:nbb {:replace-deps {com.github.seancorfield/honeysql {:git/sha "fe17b51e9a6ceb74fe27f66c76e28a2c16597003"}
3 │ com.github.noprompt/meander {:git/sha "7f2418fe353c66105c14f0b5e06f9f20bd64d412"}}}}}
Thanks for the confirmation. Once I get more insights on how the whole machinery works I hope I will be able to debug and contribute.
with the latest release of nbb the "require-macros" does not block the import of anymore but then it seems that there is an implicit dependency on clojure.zip which is not recognized under nbb