swap ! uses a function to modify the value of the atom. You will usually use swap! when the current value of the atom matters.
確定! 回上一頁