Why is the commute function called twice when changing a ref in Clojure?

I’m learning clojure…Could someone help explaining Why is the commute function called twice when changing a ref in Clojure? ? i tried google and got this answer.But it still confused me…

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.