[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (list) and '(list)
From: |
Kai Grossjohann |
Subject: |
Re: (list) and '(list) |
Date: |
Mon, 30 Apr 2007 14:49:48 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) |
Pascal Bourguignon <pjb@informatimago.com> writes:
> Kai Grossjohann <kai@emptydomain.de> writes:
>> For example, to reverse the condition of `if' (proof of concept only,
>> not production code):
>>
>> (defmacro ifnot (test no yes)
>> (if (not test) no yes))
>
> (defmacro ifnot (test no yes)
> `(if (not ,test) ,no ,yes))
*blush*
Kai
- Re: (list) and '(list), Pascal Bourguignon, 2007/04/26
- Re: (list) and '(list), Tim X, 2007/04/26
- Re: (list) and '(list), A Soare, 2007/04/27
- Re: (list) and '(list), A Soare, 2007/04/30
- Re: (list) and '(list), A Soare, 2007/04/30