[英]Why CIDER's REPL some times start as "shadow.user>" and in others it starts as "cljs.user>"?
I am using Clojure, ClojureScript, shadow-cljs, Emacs, Cider, and Lein to develop a web app project.我正在使用 Clojure、ClojureScript、shadow-cljs、Emacs、Cider 和 Lein 开发 web 应用程序项目。
Sometimes, I start a project and see as the top-level in the REPL:有时,我开始一个项目,并将其视为 REPL 中的顶级:
shadow.user>
In other times, I see:在其他时候,我看到:
cljs.user>
I believe the names indicate the namespace been used.我相信这些名称表明已使用命名空间。
But, why are different start-ups happening?但是,为什么会出现不同的初创公司? What do the different names imply (beyond the namespace)?
不同的名称意味着什么(在命名空间之外)?
My expectation was that I would have the same namespace on every startup of the REPL.我的期望是每次启动 REPL 时我都会拥有相同的命名空间。
shadow.user>
is generated after executing cider-jack-in-clj
. shadow.user>
在执行cider-jack-in-clj
后生成。 And cljs.user>
is generated after executing cider-jack-in-cljs
. cljs.user>
是在执行cider-jack-in-cljs
后生成的。
The s
at the end of the command's name is subtle but crucial.命令名称末尾的
s
微妙但至关重要。 I can't say much about the implications.我不能说太多的影响。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.