swap! and reset! impl + spec for atom.
Spec++ (basic functions)