|
From: | Linus Björnstam |
Subject: | Re: Fwd: [Patch] definitions in when, unless, do as well as in cond- and case-clauses |
Date: | Sun, 06 Feb 2022 07:44:31 +0100 |
User-agent: | Cyrus-JMAP/3.5.0-alpha0-4586-g104bd556f9-fm-20220203.002-g104bd556 |
On Sat, 5 Feb 2022, at 18:31, Stefan Israelsson Tampe wrote: > Hmm this was wrong, I mean > > For conditional variables we have a default begin. So then why on earth > do you not have an implicit let?, Just laziness? > There should be a good reason or? this is a pretty fundamental change > that I support but then we should not be lazy not trying to understand > the design choices of the old beards. In other languages let starts a new lexical context which can be expensive. I don't know guile internals but a let without any defines is trivially converted to a begin by the optimizer.
[Prev in Thread] | Current Thread | [Next in Thread] |