Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

According to that question's answer and comments, that definition is buggy (making it not quite a fair comparison). Here is a less buggy, more flexible version, taken from a comment:

  (defmacro unless [expr & body] `(if ~expr nil (do ~@body)))


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: