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 01 Jul 2024 22:34 UTC
Shiro Kawai <xxxxxx@gmail.com> writes:

> ChezScheme reports an error in that situation, btw.
>
>> (define a (values 1 2))
> Exception: returned two values to single value return context
> Type (debug) to enter the debugger.

Arg, damn.

Then I guess we won’t get around providing two procedures:

    topological-sort ;; returns one value
and
    topological-sort/details ;; returns three values

(open to a better marker than /details — I’m not that happy about the name)

(the current state feels like meandering close to the finish; would like
 to get it done)

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