It’s working as expected. The :: notation is expanded by the reader, before
evaluation. As keywords are basically constants (like numbers or strings), you
rarely see them quoted.
> On Jul 26, 2016, at 8:52 AM, Mamun wrote:
>
> Hi
>
> How does clojure.core quote function w
Hi
How does clojure.core quote function work for keyword? If it is namespace
keyword then it is displaying with namespace. Is it excepted result?
(println (quote a))
=> a
(println (quote :a) )
=> :a
(println (quote ::a) )
=> :user/a ;; I am expecting it shoul