[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: Bernard S. Greenberg <BSG%SCRC-TENEX@MIT-ML>
- Subject: REDUCE Change
- From: David A. Moon <Moon%SCRC-TENEX@MIT-ML>
- Date: Wed, 25 May 1983 18:20:00 -0000
- Cc: common-lisp%su-ai@usc-ecl
- In-reply-to: The message of 25 May 83 13:29-EDT from Bernard S. Greenberg <BSG at SCRC-TENEX>
Date: Wednesday, 25 May 1983, 13:29-EDT
From: Bernard S. Greenberg <BSG@SCRC-TENEX>
What is the reason for this new wart in the definition of REDUCE, i.e.,
REDUCE of a one-element subsequence does not invoke the function?
Since the function is required to take two arguments, how could it be invoked
when there is only one thing to give it?
The bug here (I just looked at a recent version of KSEQUE.MSS) is that the
clarification note about one-element (sub)sequences should have said that
it only applies to the case where no :initial-value is specified. If a
:initial-value is specified, then the function is not invoked in the case
where the subsequence contains -zero- elements.
So far as I know none of this is new, it's just that the manual doesn't
explain it at all clearly.