[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] R7RS delay/force/delay-force
From: |
Evan Hanson |
Subject: |
[Chicken-hackers] [PATCH] R7RS delay/force/delay-force |
Date: |
Thu, 31 Oct 2013 21:07:05 +1300 |
User-agent: |
OpenSMTPD enqueuer (Demoosh) |
Hi all,
Here are two lazy patches.
The first one just fixes the types.db entry for `force` so that it
correctly allows multiple return values.
The second modifies `force` and adds R7RS's `delay-force` to provide
R7RS/SRFI 45-style lazy semantics, meaning "delay-forced" promises are
peeled in constant space. In this case, a forced promise may now act as
a box for another; otherwise, they behave similarly to before.
(This second patch seems useful enough to me to go in core, and it was
easier to add there, but if you think it should go in the egg instead,
let me know.)
Cheers,
Evan
0001-Fix-force-s-types.db-entry-to-specify-multiple-value.patch
Description: Text document
0002-R7RS-delay-force-delay-force.patch
Description: Text document
- [Chicken-hackers] [PATCH] R7RS delay/force/delay-force,
Evan Hanson <=