chicken-hackers
[Top][All Lists]
Advanced

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

[Chicken-hackers] [PATCH 0/3] Full lambda list support for define-values


From: Evan Hanson
Subject: [Chicken-hackers] [PATCH 0/3] Full lambda list support for define-values, set!-values, letrec-values
Date: Fri, 4 Jul 2014 20:32:14 -0700
User-agent: OpenSMTPD enqueuer (Demoosh)

Hi all,

The attached patches add proper lambda list support for the following
forms, respectively:

  1. define-values and set!-values
  2. Internal definitions using define-values
  3. letrec-values

Collectively, the set moves some logic for expanding multi-valued
assignments that had previously been repeated slightly differently in
each of 1-3 into a common procedure in expand.scm, then uses that for
each. The result is that each form supports all three types of lambda
lists as formals (i.e. symbols, proper lists & improper lists).

This define-values behavior is required for R7RS compatibility.

Cheers,

Evan

Attachment: 0001-Add-full-lambda-list-support-for-define-values-and-s.patch
Description: Text document

Attachment: 0002-Add-full-lambda-list-support-for-define-values-forms.patch
Description: Text document

Attachment: 0003-Add-full-lambda-list-support-for-letrec-values-bindi.patch
Description: Text document


reply via email to

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