Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active May 8, 2017 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deque-blog/03c3d9e1d4c91c277174b4e0ec139087 to your computer and use it in GitHub Desktop.
Save deque-blog/03c3d9e1d4c91c277174b4e0ec139087 to your computer and use it in GitHub Desktop.
(defn no-swallow
"Returns `nil` whatever the argument"
[code]
nil)
(no-swallow (println "Hello world"))
"Hello world" ;; Side effect of evaluating the argument
=> nil ;; Output of no-swallow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment