[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multiple values
- To: (BUG LISPM) at MIT-AI
- Subject: Re: Multiple values
- From: rms@MIT-AI (Sent by ___017@MIT-AI)
- Date: Tue ,21 Mar 79 16:23:58 EDT
Consider this as the criterion for when to pass back multiple values:
whenever you know "before looking at" a form that it will be evaluated
and its value will be returned from a higher level up, all the values
should be passed along to that level. This implies that the
last element of an AND or OR, and either case of an IF, should be
so treated. I think it is important that
(COND (f1 f2)) and (AND f1 f2) remain equivalent, and also
(COND (f1) (t f2)) and (OR f1 f2). (COND (f1) (f2)) should also
be equivalent to them, illustrating the fact that if the last clause
of a cond has one element then that element fits the criterion.