unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Subject: Re: values in a non-values context
Date: Sat, 16 Jun 2018 17:48:55 +0200	[thread overview]
Message-ID: <874li2pw9k.fsf@gnu.org> (raw)
In-Reply-To: CAD2gp_Shhk6E8nETGX9icRJPzXSctG4uC4_M7j+sKHs_fJdT8g@mail.gmail.com

Hi,

John Cowan <cowan@ccil.org> skribis:

> It's determined by the implementation.  <
> https://bitbucket.org/cowan/r7rs-wg1-infra/src/default/MultipleValues.md>
> lists what several implementations actually do.  Many similar pages are
> accessible from <
> https://bitbucket.org/cowan/r7rs-wg1-infra/src/default/ImplementationContrasts.md
>>.

Indeed.  The choice starting with Guile 2.0 was to automatically
truncate multiple value returns in accordance with the number of values
expected by the continuation.

You can rely on multiple-value truncation in Guile, but be aware that
other Schemes may behave differently.

Ludo’.




      reply	other threads:[~2018-06-16 15:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15  0:56 values in a non-values context Matt Wette
2018-06-15  1:16 ` John Cowan
2018-06-16 15:48   ` Ludovic Courtès [this message]

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=874li2pw9k.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guile-user@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).