(def x 5) (defn add-5 [y] (+ x y)) (println (add-5 5)) (defn change-x [] (def x 6)) (change-x) (println (add-5 5))
Standard input is empty
10 11
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!