chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] &optional and &rest in type-declarations


From: Felix
Subject: Re: [Chicken-hackers] [PATCH] &optional and &rest in type-declarations
Date: Wed, 08 May 2013 15:39:46 +0200 (CEST)

From: Peter Bex <address@hidden>
Subject: Re: [Chicken-hackers] [PATCH] &optional and &rest in type-declarations
Date: Wed, 8 May 2013 14:41:01 +0200

> On Wed, May 08, 2013 at 02:33:18PM +0200, Felix wrote:
>> Hello!
>> 
>> As proposed by Joerg Wittenberger, here is a patch for the scrutinizer
>> to allow "&optional" and "&rest" as alternatives to "#!optional" and
>> "#!rest" in type declarations.
> 
> What was the rationale for this, again?  It's confusing because
> procedures don't allow this syntax.

This makes it easy to define a portable ":" macro (that does nothing).
Joerg wanted to share code between different Scheme implementations,
and allowing "&rest" instead of "#!rest" doesn't require a Scheme
reader that understands "#!...".


cheers,
felix



reply via email to

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