Skip to content

Instantly share code, notes, and snippets.

@wishfulpanda
Created March 10, 2014 23:39
Show Gist options
  • Save wishfulpanda/9476787 to your computer and use it in GitHub Desktop.
Save wishfulpanda/9476787 to your computer and use it in GitHub Desktop.
(defn -main
[& args]
(def x '(1 2 3))
(map #(+ % 1) x)
(print x)
)
//////This gives (1 2 3)
(defn -main
[& args]
(def x '(1 2 3))
(print (map #(+ % 1) x))
)
///////This gives (2 3 4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment