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

From: John Cowan <cowan>
Date: Mon Jan 22 11:47:05 2007

David Van Horn scripsit:

> But `begin' allows that expression to evaluate to zero or more values.

Where in R5.92RS does this statement appear? Not under "begin", and not
under "values", which is the source of the claim that it's an error to
pass an inappropriate number of values to any continuation not created
by call-with-values. There is an ad hoc remark about begin-expressions
being allowed to return zero or more values in Section 8, which deals with
expanding macros in top-levele bodies, but nowhere else that I can find.

-- 
Real FORTRAN programmers can program FORTRAN    John Cowan
in any language.  --Allen Brown                 cowan_at_ccil.org
Received on Mon Jan 22 2007 - 11:46:57 UTC

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