0
我試圖設置boot讓我在REPL中使用better-cond。我已經把我的build.boot這樣的:refer-clojure for boot repl
(refer-clojure :exclude '[rand rand-int struct cond])
(require '[better-cond.core :refer [cond]])
然而,當我開始boot repl
,我得到這樣的警告:
WARNING: cond already refers to: #'clojure.core/cond in namespace: boot.user,
being replaced by: #'better-cond.core/cond
cond
並調用更好康德,但如何擺脫的警告?
我不想養成忽略編譯器警告的習慣。
因爲它通常更容易[重裝](https://github.com/samestep/boot-refresh)另一個源文件,而不是重新加載'build.boot',我會在'boot.user'以外的命名空間運行你的REPL,允許你使用'(ns(:refer-clojure ,,,))''。 –
我不相信有可能關閉此警告。 – Ben