[Top][All Lists]

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

Add internal definitions to derived forms

From: Linus Björnstam
Subject: Add internal definitions to derived forms
Date: Wed, 09 Nov 2022 16:32:29 +0100
User-agent: Cyrus-JMAP/3.7.0-alpha0-1115-g8b801eadce-fm-20221102.001-g8b801ead

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

Attachment: 0001-Add-internal-definitions-to-derived-forms.patch
Description: Text Data

reply via email to

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