"Arthur A. Gleckler" <s...@speechcode.com> writes:

> On Mon, Jul 1, 2024 at 12:34 PM Dr. Arne Babenhauserheide (via srfi-234 list) 
> <srfi-...@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

Attachment: signature.asc
Description: PGP signature

Reply via email to