KC
(def *state* (atom {}))
Size: a a a
KC
(def *state* (atom {}))
KC
D
TP
KC
(def ^:dynamic *state*) (binding [*state* {:counter 0}] (update *state* :counter inc))
IG
IG
(def *foo* (atom {}))
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.
MK
IG
foo*
, *foo
D
S
IG
S
PP
PP
S
IG
(re-find #"^foo/bar/(.+?)/" "foo/bar/5655.655/any/path")
["foo/bar/5655.655/" "5655.655"]
IG
S
IG