Re:State of Clojure 2020
by int_19h on Friday February 21, 2020 @07:36PM
(#22388504)
Your data can't be mutated if you're using immutable data structures. Which is what Clojure defaults to, in fact.
[ Parent
| on HN ]
Re:State of Clojure 2020
by GeneralTspoon on Saturday February 22, 2020 @07:06PM
(#22394192)
I didn't mean literally mutating the same structure in place - but a new version of your data structure could be returned from a function which changes some of the keys/values in unsafe ways.