Mutating atoms
There are three functions used to update
atom
, as follows:
reset!
swap!
compare-and-set!