/ namespace slash

special charactersince v0.0-927 in clojure in ednEdit

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: clojure.lang.PersistentVector/EMPTY
  • ClojureScript: cljs.core/PersistentVector.EMPTY

/ is the division function if it is by itself.

See . dot for usage of dots on either side of /

See Also: