[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: when and unless
From: |
Andy Wingo |
Subject: |
Re: when and unless |
Date: |
Fri, 20 Jan 2012 21:19:03 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
Heya,
On Sat 07 Jan 2012 23:36, address@hidden (Ludovic Courtès) writes:
> Andy Wingo <address@hidden> skribis:
>
>> (define-syntax (when condition stmt stmt* ...)
>> (if condition (begin stmt stmt* ...)))
>>
>> (define-syntax (unless condition stmt stmt* ...)
>> (if (not condition) (begin stmt stmt* ...)))
>
> Yes!
>
> (‘define-syntax-rule’ I suppose?)
Pushed!
Cheers,
Andy
--
http://wingolog.org/