【发布时间】:2014-01-15 19:34:52
【问题描述】:
我对 Clojure 和 Leiningen 都很陌生。我已经在C:\clojure-1.5.1 在 Windows 上安装了 Clojure,在C:\.lein\bin 安装了 leiningen-win-installer beta1。
现在我正在尝试 Eric Rochester 书中的示例。我在 project.clj 中包含了 Incanter 的依赖库,并且还使用了 dep。
如何使用命令(use 'incanter.core)?我收到'use' is not recognized as an internal or external command。另外,user=>如何使用lein命令?
【问题讨论】:
-
您是否使用
lein repl启动了 REPL? -
是的,我做到了。 C:\.lein\bin>lein repl nREPL 服务器在主机 127.0.0.1 上的端口 3977 上启动 REPL-y 0.3.0 Clojure 1.5.1 Docs: (doc function-name-here) (find-doc "part-of- name-here") Source: (source function-name-here) Javadoc: (javadoc java-object-or-class-here) Exit: Control+D or (exit) or (quit) Results: Stored in vars *1, *2、*3、*e 用户=> 中的异常(使用 'incanter.core) :443) 用户=>