Re: [Chicken-hackers] [PATCH] R7RS delay/force/delay-force

2013-11-03 Thread Jörg F. Wittenberger
Am 02.11.2013 23:49, schrieb Evan Hanson: On 2013-11-02 21:10, Jörg F. Wittenberger wrote: deconstructing the zero-value case as a special case but handling the one-valued case using the generic multiple value procedure C_values, which is according to my understanding less efficient - hence it

Re: [Chicken-hackers] [PATCH] R7RS delay/force/delay-force

2013-11-03 Thread Peter Bex
On Thu, Oct 31, 2013 at 09:07:05PM +1300, Evan Hanson wrote: 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;

Re: [Chicken-hackers] [PATCH] Treat lone carriage returns as line endings in ##sys#scan-buffer-line

2013-11-03 Thread Moritz Heidkamp
Peter Bex peter@xs4all.nl writes: Ah, very good! I have nothing to comment on this, so I'm just attaching them as-is, plus a signed-off-by line, so the next guy can just sign it off and push. :) Thanks! Thanks from me as well, I've pushed the patches and closed the ticket. Moritz

Re: [Chicken-hackers] [PATCH] R7RS delay/force/delay-force

2013-11-03 Thread John Cowan
Jörg F. Wittenberger scripsit: Sure it's easy to convert multiple value returns into a single value (e.g. a list) and back. Scheme _could_ be done without multiple values at all (the way you describe). Just: multiple values are useful as an alternative to (one shot) objects and _may_ be