Re: [Scheme-reports] Multiple values in BEGIN Andre van Tonder (06 May 2011 14:18 UTC)
Re: [Scheme-reports] Multiple values in BEGIN Alaric Snell-Pym (06 May 2011 14:25 UTC)
Re: [Scheme-reports] Multiple values in BEGIN Ian Price (06 May 2011 14:34 UTC)
Re: [Scheme-reports] Multiple values in BEGIN Andre van Tonder (06 May 2011 14:46 UTC)
Re: [Scheme-reports] Multiple values in BEGIN Jussi Piitulainen (06 May 2011 14:36 UTC)
Re: [Scheme-reports] Multiple values in BEGIN John Cowan (06 May 2011 14:46 UTC)

Re: [Scheme-reports] Multiple values in BEGIN Alaric Snell-Pym 06 May 2011 14:24 UTC

On 05/06/11 15:18, Andre van Tonder wrote:

> Only non-final expressions, though?
>
> I don't like that restriction, because equivalence of the following two
> expressions should be to me a fundamental property of BEGIN:
>
>    (begin
>      (begin
>        exp1)
>      exp2))
>
> and
>
>    (begin
>      exp1
>      exp2)
>
> But with ths stated restriction, they are not equivalent.

Indeed!

I would expect any expression in a BEGIN to be able to return any number
of values, and the values of the final one are the values of the entire
BEGIN.

Is that too simple? :-)

>
> Andre
>

ABS

--
Alaric Snell-Pym
http://www.snell-pym.org.uk/alaric/

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports