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

John Cowan cowan at ccil.org
Sat Jan 20 14:16:34 EST 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




More information about the r6rs-discuss mailing list