special character | since v0.0-927 | in clojure | in edn | Edit |
The left side of /
in a keyword or symbol is a namespace.
foo/bar
:foo/bar
/
can appear once inside a symbol. The left side of /
must always be a namespace.
The right side completes the reference to the symbol.
It should be noted that this differs from Clojure. For example,
notice /
appearing before PersistentVector
in Clojure:
clojure.lang.PersistentVector/EMPTY
cljs.core/PersistentVector.EMPTY
/
is the division function if it is by itself.
See . dot
for usage of dots on either side of /