[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple values, Version 1



Subject: Re: Multiple values, Version 1

It would be clearer if

    Most continuations ignore all but the first return value, ...

read instead

    Most continuations expect one value and ignore all but the first of
    multiple values, ...

Also, it would help if there were an example that makes clear the relation
between tail-recursion and multiple values, such as:

    (define return123 (lambda () (values 1 2 3)))
    (with-values (lambda () (return123)) list) ==> (1 2 3)


I also second the proposal to make <init>s optional in
LET, LET*, named LET, and LETREC (but not DO).