[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] SRFI-45: Support multiple values; add promise? predicate
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH] SRFI-45: Support multiple values; add promise? predicate |
Date: |
Tue, 19 Mar 2013 14:25:14 +0100 |
User-agent: |
Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) |
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.
> +;======================================================================
> +; Test promise? predicate (non-standard Guile extension)
The line is a bit baroque to my taste. ;-)
Thanks,
Ludo’.