Fork me on GitHub
#clojure-dev
<
2018-10-08
>
tristefigure10:10:47

I just recently realized the earmuff convention for dynamic vars is not enforced. If I recall correctly it used to be enforced with a compile-time check. Is my memory correct ? And if so, what's the story behind this change ?

bronsa10:10:35

user=> (def *foo*)
Warning: *foo* not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic *foo* or change the name. (NO_SOURCE_PATH:1)

bronsa10:10:50

this is the only check that's ever been present in clojure

tristefigure10:10:39

Ok, thanks for the clarification.