【发布时间】:2011-01-10 15:53:27
【问题描述】:
我的命名空间声明如下所示:
(ns test.foo
(:use
[clj-http.client :only (get) :as client]
[net.cgrand.enlive-html :only (select) :as html]))
在我第一次使用它时,它在 REPL 中运行良好。然后,当我修改代码并在 REPL 中尝试以下操作时:
(use :reload 'test.foo)
我明白了:
java.lang.IllegalStateException: get already refers to: #'clj-http.client/get in namespace: test.foo (foo.clj:1)
我在逆时针窗口上,也尝试过 leiningen (lein repl)。
【问题讨论】:
标签: clojure read-eval-print-loop