[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH 0/3] Full lambda list support for define-va
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] [PATCH 0/3] Full lambda list support for define-values, set!-values, letrec-values |
Date: |
Sat, 12 Jul 2014 17:29:28 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Fri, Jul 04, 2014 at 08:32:14PM -0700, Evan Hanson wrote:
> 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.
Thank you Evan, this is some great work! Your patch is very thorough
and it cleans up the code nicely. I've taken the liberty of updating
the manual section on "non-standard macros and special forms" to mention
the basic lambda list support.
I've also closed ticket #1002.
Cheers,
Peter
--
http://www.more-magic.net