[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: values in a non-values context
From: |
Ludovic Courtès |
Subject: |
Re: values in a non-values context |
Date: |
Sat, 16 Jun 2018 17:48:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
John Cowan <address@hidden> 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’.