[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] SRFI-45: Support multiple values; add promise? predicate
From: |
Mark H Weaver |
Subject: |
Re: [PATCH] SRFI-45: Support multiple values; add promise? predicate |
Date: |
Tue, 19 Mar 2013 13:55:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Hi Ludovic,
address@hidden (Ludovic Courtès) writes:
> Mark H Weaver <address@hidden> skribis:
>
>> From 1225cc23b9088e8d52a99f1bac2814b0905826ee Mon Sep 17 00:00:00 2001
>> From: Mark H Weaver <address@hidden>
>> Date: Mon, 18 Mar 2013 20:01:12 -0400
>> Subject: [PATCH] SRFI-45: Support multiple values; add promise? predicate.
>>
>> * module/srfi/srfi-45.scm (eager): Accept any number of arguments.
>> Store the list of arguments in the value record. Previously, only one
>> argument was accepted, and that value was stored in the value record.
>> (delay): Support expressions that return any number of arguments.
>> (force): Return the list of values stored in the value record.
>> (promise?): Export.
>>
>> * doc/ref/srfi-modules.texi (SRFI-45): Update docs. Remove typing
>> for simplicity in discussing multiple values.
>>
>> * test-suite/tests/srfi-45.test: Add tests.
>
> Looks good to me, of course.
Excellent, thanks. I pushed a slightly improved version to stable-2.0.
(I also fixed the copyright notice on srfi-45.test).
>> +;======================================================================
>> +; Test promise? predicate (non-standard Guile extension)
>
> The line is a bit baroque to my taste. ;-)
I'm not sure what you mean, but feel free to change it.
Thanks,
Mark