我想要core.async,但是编译器在需要时抛出错误。
我已将[org.clojure/core.async "0.4.500"]
添加到project.clj
,并尝试了各种版本,但是编译器仍然抛出错误。
这是我的core.clj
:
(:require [clojure.core.async
:as a
:refer [>! <! >!! <!! go chan buffer close! thread
alts! alts!! timeout]]))
这些是我的:dependencies
中的project.clj
:
:dependencies [[org.clojure/clojure "1.10.0"]
[org.clojure/core.async "0.4.500"]]
编译器抛出:
Error compiling clojure/core/async.clj at (9:1)
Call to clojure.core/refer-clojure did not conform to spec.
答案 0 :(得分:0)
好吧,事实证明,我只需要重新启动Emacs,它就解决了问题。不知何故。