[r6rs-discuss] [Formal] Inappropriate number of values should be defined

From: John Cowan <cowan>
Date: Mon Jan 22 08:02:53 2007

---
This message is a formal comment which was submitted to formal-comment_at_r6rs.org, following the requirements described at: http://www.r6rs.org/process.html
---
Submitter: John Cowan
Email address: cowan_at_ccil.org
Issue type: Defect
Priority: Minor
Component: Base Library
Report version: 5.92
Summary: Inappropriate number of values should be defined sensibly
Report section 9.17, s.v. "values", says that passing an inappropriate
number of values to a continuation is undefined.  I believe it ought to
be defined thus:
	If an expression supplies too many values to its continuation,
	the excess values are discarded.  If it supplies too few values,
	the deficient values are set to the unspecified value.
In particular, this paves the way to eliminating "the unspecified value"
in favor of simply returning zero values.
-- 
John Cowan  cowan_at_ccil.org   http://ccil.org/~cowan
Promises become binding when there is a meeting of the minds and consideration
is exchanged. So it was at King's Bench in common law England; so it was
under the common law in the American colonies; so it was through more than
two centuries of jurisprudence in this country; and so it is today.
       --Specht v. Netscape
Received on Sat Jan 20 2007 - 14:16:34 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC