chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] extending define-values


From: Felix
Subject: Re: [Chicken-hackers] extending define-values
Date: Sat, 06 Apr 2013 23:06:05 +0200 (CEST)

From: Peter Bex <address@hidden>
Subject: Re: [Chicken-hackers] extending define-values
Date: Fri, 5 Apr 2013 22:55:00 +0200

> On Fri, Apr 05, 2013 at 10:49:15PM +0200, Felix wrote:
>> The patch looks ok to me, even though I'm not sure the benefit of having
>> this feature outweights the added complexity, apart from having a little
>> bit of extra consistence. 
> 
> Note that this makes define-values r7rs-compliant.

Ok. Then there is no way around this.

> The alternative is to keep the old definition and provide the slightly
> more complicated one in the new "r7rs egg", but I don't know how to make
> the internal definitions syntax stuff extensible.

That would stretch it too much, I think - that code is already pretty
opaque. So adding it to the core syntax looks like the right thing to do.

> 
> I think internal definition rewriting may be one of the worst warts of
> Scheme.  R8RS should try to fix this :)

I like internal definitions a lot, but it's tedious to implement
correctly.


cheers,
felix






reply via email to

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