On Thu, Jul 18, 2019 at 08:13:53AM +0200, Marco Maggi wrote:
> Not sure if I understand.  The problem  lies in the context in which the
> call to DOIT is performed?

Yes, exactly.

> it expects any number of values in:
> 
>    (call-with-values
>        doit
>      (lambda args (apply values args)))
> 
> so no error?

Right.  call-with-values sets up a different type of continuation,
one that accepts an arbitrary number of values.  Standard continuations
allow only one argument.

Cheers,
Peter

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to