This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-25
Channels
- # announcements (5)
- # babashka (23)
- # beginners (70)
- # cider (24)
- # clj-kondo (14)
- # cljsrn (2)
- # clojars (6)
- # clojure (195)
- # clojure-australia (1)
- # clojure-dev (2)
- # clojure-europe (27)
- # clojure-france (1)
- # clojure-nl (4)
- # clojure-norway (2)
- # clojure-spec (2)
- # clojure-uk (12)
- # clojurescript (3)
- # clojurewerkz (1)
- # core-async (21)
- # cursive (9)
- # datomic (37)
- # duct (3)
- # emacs (16)
- # events (4)
- # fulcro (34)
- # graalvm (12)
- # javascript (3)
- # jobs (4)
- # malli (1)
- # meander (3)
- # nrepl (1)
- # off-topic (27)
- # pathom (16)
- # re-frame (17)
- # reagent (19)
- # rewrite-clj (18)
- # sci (47)
- # shadow-cljs (179)
- # spacemacs (18)
- # sql (52)
- # tools-deps (80)
- # vim (27)
- # vrac (1)
- # xtdb (9)
yes, alt! doesn't return a channel, but this error looks like you can't pass keyword as argument to alt!.
ran into a weird issue, I just update core.async to the latest version, when I do (require 'clojure.core.async) an error tell me ClassNotFound for clojure.core.async.Mutex. But after some searching, I think there's no such Class or symbol in core.async code base.
this is the definition https://github.com/clojure/core.async/blob/b85d2dcf446ca0235edf25a199a74de8fb910fe6/src/java/clojure/core/async/Mutex.java
that file was last edited in 2013
that's true - the java code is still in github, but the released artifacts for recent versions don't have the classfiles
but also, the references to Mutex are removed from the clojure.core.async.impl.mutex ns
what file is it trying to load when you see that error?
also, I wonder why the github code doesn't reflect recent releases
in github, theres a Mutex.java, in the jar from maven, there's no corresponding class file, and the mutex definition doesn't use that class any more
oh, I missed this, you're right. Mutex.java is still in the repo, but is now a no-op, and the mutex impl doesn't try to use it any more
I must have ended up looking at the wrong version due to bad github js or user error
@U0NBGRGD6 i had a similar problem some time ago and i had to do a dependency tree in order to figure out what was bringing in a very old version of core.async
i don't recall exactly what it was anymore but i vaguely remember something with an old clojurescript version
the error is from (<! (alt! ...))