[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [patch] R7RS make-promise...
From: |
Christian Kellermann |
Subject: |
Re: [Chicken-hackers] [patch] R7RS make-promise... |
Date: |
Sun, 26 May 2013 14:58:03 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
* Peter Bex <address@hidden> [130526 14:10]:
> On Sun, May 26, 2013 at 01:55:48PM +0200, Christian Kellermann wrote:
> > Hi,
> >
> > the first step of implementing the lazy procedures from R7RS is
> > attached to this mail. I will probably have to adjust the internal
> > representation for recursive promisses again but I am not yet sure
> > about how to do this best.
> >
> > This patch also adds a new R7RS test file that will host all new
> > test cases that would not find a nice place elsewhere.
>
> Thanks, I've pushed this so that we can start hacking on other R7 stuff
> and add it to this place.
>
> The make-promise itself looks good.
Unfortunately not so good, please find a correction attached. Also
this adds proper type information, takes care of the optimisation
in the compiler when possible, and adds the "test suite" to make
check.
Also make-promise is now exported in the chicken egg. I am not sure
whether we should place it there but it seems more convenient than
to provide a r7rs-core thing you need to import as well...
Thanks for bearing with me,
Christian
--
In the world, there is nothing more submissive and weak than
water. Yet for attacking that which is hard and strong, nothing can
surpass it. --- Lao Tzu
0001-Add-specialisation-for-make-promise-retain-procedure.patch
Description: Text document