Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我看过下面的前缀::它代表什么?A:abc是一个关键字,但它是什么::abc?
::
:abc
::abc
谢谢,穆尔塔萨
假设当前命名空间是my.app. 然后,::x是一个阅读器的简写:my.app/x,一个关键字,其名称空间部分是my.app,名称是x。
my.app
::x
:my.app/x
x
在其他语言中,这是默认命名空间。但不确定这是否也存在于 Clojure 中。参考this comment,它似乎是正确的。