When I declare a global Var like:
(def x 100)
I get the following output -
=> #'tutorial.core/x
I can understand that the 'tutorial.core/x is a symbol here, but what is the meaning of #?
When I declare a global Var like:
(def x 100)
I get the following output -
=> #'tutorial.core/x
I can understand that the 'tutorial.core/x is a symbol here, but what is the meaning of #?
The "pound-quote" or #' is a reader macro. That is, it is shorthand for typing
(var tutorial.core/x)
or just
(var x) ; in the same namespace
You can find more information here.