The function of ^:dynamic
is clear (see, for instance, clojure and ^:dynamic). My question: Is ^:dynamic
an atomic i.e. indivisible keyword? If not, are any of the below also valid? What do the operators/decorations ^
and :
add to the expression?
(def ^:dynamic y 5) -- Valid (known).
(def dynamic y 5) -- but the rest of these? ...
(def ^dynamic y 5)
(def :dynamic y 5)
(def ^: y 5)
Alternatively, and maybe there's no clear answer: If ^:dynamic
is an indivisible keyword, why attach all the funny punctuation to it?