[Top][All Lists]

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

Re: GIT version: values

From: Hans Aberg
Subject: Re: GIT version: values
Date: Thu, 20 Jan 2011 18:10:22 +0100

On 20 Jan 2011, at 16:17, Ludovic Courtès wrote:

It seems it is not only 'values' writing, but the new behavior seems
to be to strip trailing values quietly:
(define a (values 2 3 4))
(call-with-values (lambda () a) (lambda x x))
in Guile computes to
$1 = (2)

By contrast, in guile-1.8.8, it computes to
(2 3 4)

This is the same problem as in your other message.

Yes, I thought it was first a printing problem, struggling with code that mysteriously was broken, before realizing that you merely dump the other values. It is OK with R5RS, which says that the behavior is undefined.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]