guile-devel
[Top][All Lists]
Advanced

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

Re: let-values, and-let* no variables


From: Marius Vollmer
Subject: Re: let-values, and-let* no variables
Date: Fri, 20 Aug 2004 12:28:49 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> I'm contemplating the way "begin" is used for the body of let-values
> and and-let* with no bindings.  It has the unhappy effect of allowing
> what is visually an internal define to go out into the containing
> environment, eg.

Uhh, intuitively I'd say that this is wrong behavior.  Maybe you
should ask on comp.lang.scheme.

> I guess nobody would write an empty and-let* or let-values
> deliberately, but it could arise out of a macro.  I'm thinking to put
> some words of caution in the manual, to make it clear the body isn't
> the same as a plain "let" or "let*".

That would be good, even if we 'fix' our implementation to behave
differently.




reply via email to

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