unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-devel@gnu.org
Subject: Re: [PATCH] SRFI-45: Support multiple values; add promise? predicate
Date: Tue, 19 Mar 2013 14:25:14 +0100	[thread overview]
Message-ID: <87k3p3mshx.fsf@gnu.org> (raw)
In-Reply-To: 87a9q0f3r2.fsf_-_@tines.lan

Mark H Weaver <mhw@netris.org> skribis:

> From 1225cc23b9088e8d52a99f1bac2814b0905826ee Mon Sep 17 00:00:00 2001
> From: Mark H Weaver <mhw@netris.org>
> 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’.




  reply	other threads:[~2013-03-19 13:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19  0:30 [PATCH] SRFI-45: Support delayed expressions that return multiple values Mark H Weaver
2013-03-19  1:08 ` Ian Price
2013-03-19 18:24   ` Mark H Weaver
2013-03-19  1:53 ` Mark H Weaver
2013-03-19  3:49   ` [PATCH] SRFI-45: Support multiple values; add promise? predicate Mark H Weaver
2013-03-19 13:25     ` Ludovic Courtès [this message]
2013-03-19 17:55       ` Mark H Weaver
2013-03-26 10:32 ` [PATCH] SRFI-45: Support delayed expressions that return multiple values Mark H Weaver
2013-03-26 21:55   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k3p3mshx.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).