Skip to content

Instantly share code, notes, and snippets.

@zspencer
Forked from wishfulpanda/gist:9476787
Last active August 29, 2015 13:57
Show Gist options
  • Save zspencer/9476808 to your computer and use it in GitHub Desktop.
Save zspencer/9476808 to your computer and use it in GitHub Desktop.
(defn inc-all []
(let [x '(1,2,3)]
(println (map inc x))
(println x)))
(inc-all)
def inc(num):
return num + 1
def inc_all():
x = [1,2,3]
print(map(inc,x))
print(x)
inc_all()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment