guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: when and unless


From: Andy Wingo
Subject: Re: when and unless
Date: Tue, 06 Dec 2011 20:33:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Tue 06 Dec 2011 20:05, "Chris K. Jester-Young" <address@hidden> writes:

> On Tue, Dec 06, 2011 at 08:48:01AM +0100, Marijn wrote:
>> Couldn't help but wonder why they don't return the value of the last
>> body form, so I looked around a bit and both CLHS[1] and my racket
>> REPL seem to agree that they should:
> [...]
>> Is there some other source that suggests that the return value should
>> be unspecified?
>
> This isn't so much because the return value is somehow specified or
> useful, but rather to avoid breaking tail position. See this discussion
> I had with Eli Barzilay where this is explained:
>
> http://rotty.yi.org/irclogs/freenode/%23scheme/2011-11-02/#e208
>
> (Start at the 07:24 timestamp if the fragment reference isn't working.)

Ah, OK.  Indeed this is a very good point, I didn't realize this
before.  Hummm.

Andy
-- 
http://wingolog.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]