Number of return values of topological-sort Shiro Kawai (30 Jun 2024 07:50 UTC)
RE: Number of return values of topological-sort Maxime Devos (01 Jul 2024 09:06 UTC)
Re: Number of return values of topological-sort Marc Nieper-Wißkirchen (01 Jul 2024 12:15 UTC)
Re: Number of return values of topological-sort Lassi Kortela (01 Jul 2024 12:31 UTC)
Re: Number of return values of topological-sort Dr. Arne Babenhauserheide (01 Jul 2024 16:28 UTC)
Re: Number of return values of topological-sort Arthur A. Gleckler (02 Jul 2024 01:39 UTC)
Re: Number of return values of topological-sort Dr. Arne Babenhauserheide (02 Jul 2024 05:36 UTC)
Re: Number of return values of topological-sort Arthur A. Gleckler (01 Aug 2024 13:50 UTC)
RE: Number of return values of topological-sort Maxime Devos (01 Jul 2024 20:19 UTC)
Re: Number of return values of topological-sort Shiro Kawai (01 Jul 2024 16:14 UTC)
Re: Number of return values of topological-sort Dr. Arne Babenhauserheide (01 Jul 2024 19:33 UTC)
Re: Number of return values of topological-sort Shiro Kawai (01 Jul 2024 20:23 UTC)
Re: Number of return values of topological-sort Shiro Kawai (01 Jul 2024 20:26 UTC)
Re: Number of return values of topological-sort Dr. Arne Babenhauserheide (01 Jul 2024 22:35 UTC)
RE: Number of return values of topological-sort Maxime Devos (01 Jul 2024 20:19 UTC)
Re: Number of return values of topological-sort Shiro Kawai (01 Jul 2024 20:31 UTC)
Re: Number of return values of topological-sort Marc Nieper-Wißkirchen (01 Jul 2024 20:36 UTC)
RE: Number of return values of topological-sort Maxime Devos (01 Jul 2024 21:10 UTC)

Re: Number of return values of topological-sort Dr. Arne Babenhauserheide 02 Jul 2024 05:36 UTC
"Arthur A. Gleckler" <xxxxxx@speechcode.com> writes:

> On Mon, Jul 1, 2024 at 12:34 PM Dr. Arne Babenhauserheide (via srfi-234 list) <xxxxxx@srfi.schemers.org> wrote:
>
>  That sounds reasonable. I created a pull-request.
>
>  https://github.com/scheme-requests-for-implementation/srfi-234/pull/10
>
> I've merged and pushed this change.  Shall I declare a new draft, and perhaps even a last-call period?

Thank you! But no, not yet: there’s a problem with ChezScheme with this
version (you always have to get all values, otherwise you get an error).

⇒ needs two different ways to call, and one of them only returns one value.

In Guile I can do

(define a (values 'a 'b 'c)) a

and

(import (srfi :11))
(let-values (((a b c) (values 'a 'b 'c))) a)

This SRFI needs to accomodate all Schemes, so returning multiple values
must be optional.

Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de