This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-18
Channels
- # adventofcode (20)
- # aleph (25)
- # announcements (4)
- # babashka (117)
- # beginners (150)
- # calva (4)
- # cider (9)
- # clj-on-windows (2)
- # clojure (9)
- # clojure-europe (4)
- # clojure-italy (3)
- # clojuredesign-podcast (18)
- # clojurescript (16)
- # conjure (1)
- # core-async (35)
- # cursive (13)
- # datalevin (6)
- # datomic (6)
- # fulcro (8)
- # hyperfiddle (5)
- # malli (8)
- # nextjournal (4)
- # off-topic (51)
- # pathom (4)
- # reagent (21)
- # sci (14)
- # shadow-cljs (22)
- # specter (3)
- # testing (22)
- # tools-deps (8)
- # xtdb (7)
hi, updating malli tests to latest sci (0.2.7), this evaluation get’s stuck:
(sci.core/eval-string "(fn [_ {::keys [increment]}] (partial + (or increment 0)))")
user=> (((sci.core/eval-string "(fn [_ {::keys [increment]}] (partial + (or increment 0)))") nil {:user/increment 5}) 2)
7
➜ ~ clj -Sforce -Sdeps '{:deps {borkdude/sci {:mvn/version "0.2.7"}, borkdude/edamame {:mvn/version "0.0.18"}}}'
Clojure 1.10.3
user=> (require '[sci.core :as sci])
nil
user=> (sci/eval-string "(inc 1)")
... never completes ...
missed that, and with 0.2.8 works again:
➜ ~ clj -Sforce -Sdeps '{:deps {org.babashka/sci {:mvn/version "0.2.8"}, borkdude/edamame {:mvn/version "0.0.18"}}}'
Downloading: org/babashka/sci/0.2.8/sci-0.2.8.pom from clojars
Downloading: org/babashka/sci/0.2.8/sci-0.2.8.jar from clojars
Clojure 1.10.3
user=> (require '[sci.core :as sci])
nil
user=> (sci/eval-string "(inc 1)")
2