Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
roryokane
on March 12, 2012
|
parent
|
context
|
favorite
| on:
Adding a new statement to Python
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: