Skip to content

Instantly share code, notes, and snippets.

@wlaurance
Last active December 25, 2015 07:39
Show Gist options
  • Select an option

  • Save wlaurance/6940808 to your computer and use it in GitHub Desktop.

Select an option

Save wlaurance/6940808 to your computer and use it in GitHub Desktop.
clojure if
(defn some-fn [l]
(mapv #(* 5 %) l))
(def thing nil)
(if (nil? thing)
(do (println "true") (some-fn [1 2 3]) true)
(do false))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment