[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: MOON at MIT-AI
- From: Mike McMahon <MMcM at MIT-AI>
- Date: Mon ,15 Sep 80 22:24:00 EDT
- Cc: BUG-ZWEI at MIT-AI
- Sender: MMcM at CADR6 at MIT-AI
Date: 15 SEP 1980 2129-EDT
From: Moon at MIT-AI (David A. Moon)
In the following text
(DEFUN TEST (X)
(COND ((FROB X))
(T 24.)))
put the cursor after the word COND and type c-m-&. It should generate an OR,
but actually it generates an IF which does not implement the same functionality
as the COND.
That case was easy to fix because of the way it happens to be written,
however the converse it hard. The command in general does not
understand evaluation for value rather than effect. I.e. (or foo bar)
turns into (cond ((not foo) bar)). There would need to be a way for the
user to specify that the other behaviour was desired.