guile-devel
[Top][All Lists]
Advanced

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

Re: Add internal definitions to derived forms


From: Damien Mattei
Subject: Re: Add internal definitions to derived forms
Date: Wed, 9 Nov 2022 16:46:41 +0100

thanks,hope it will be in a next stable release of Guile
regards,
damien

On Wed, Nov 9, 2022 at 4:34 PM Linus Björnstam <linus.bjornstam@veryfast.biz> wrote:
Hi there!

This commit adds internal definitions to derived conditional forms, with-fluids and and-let*. This means the bodies of when, unless and with-fluids, and the clause bodies of case and cond behave like a lambda body.

There is no performance hit since guile optimizes a (let () ...) without internal definitions to a begin (i.e: no new lexical context is created).

best regards
  Linus Björnstam

reply via email to

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