(ns clojure.examples.example (:gen-class)) (defn example [] (def myatom (atom 1)) (println @myatom) (swap! myatom inc) (println @myatom)) (example)
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more