(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