Fork me on GitHub
#clojure-europe
<
2021-10-23
>
lread13:10:41

good morning hive mind

1
🐝 1
🧠 1
jasonbell19:10:29

Right, I’m a wee a bit stumped so I’m going to ask for help.

jasonbell19:10:17

If a Java class has a static volatile var: MyClass.mykey = "thing";

jasonbell19:10:45

How on earth can I set that in Clojure, I’ve REPL’d around the towns and hows and I’m still stumped.

jasonbell19:10:43

Got it: (set! (MyClass/mykey) "thing")

1
2
reefersleep22:10:25

Good morning 🙂