Skip to content

Instantly share code, notes, and snippets.

Created Jan 23, 2013

What would you like to do?
(defn foo [thing]
(if (nil? thing)
(do (println "It's nil...")
(do (println "It's not nil, it's" thing)
(println "Calling foo with nil")
(foo nil)
(println "Calling foo with \"Hello, world\"")
(foo "Hello, world")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.