 (swap! my-number-atom + 10 20 30) ; (+ 22 10 20 30)
 (fact @my-number-atom => 82)
 
-
+;;;; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 ;;;; Maps in atoms
 
 (def my-map-atom (atom {}))

(swap! my-number-atom inc) ; (inc 1)
(fact @my-number-atom => 2)

;;;; Supplying args to the swap function:

(swap! my-number-atom + 10) ; (+ 2 10)

(fact @my-map-atom => {:first-name "Bob"
                       :address {:line-1 "37 High Street"}})

;;;; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
;;;; `compare-and-set!`

(fact @my-number-atom => 82)
(fact (compare-and-set! my-number-atom 99 42) => false)
