guile-user
[Top][All Lists]
Advanced

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

Re: or values bug?


From: Andy Wingo
Subject: Re: or values bug?
Date: Mon, 05 Dec 2011 21:57:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

On Mon 05 Dec 2011 18:40, address@hidden (Ludovic Courtès) writes:

>   scheme@(guile-user)> ,optimize (or (values 1 2) 'b)
>   $6 = (values 1 2)
>
> That the second value isn’t truncated is a bug (see below.)

Indeed.

>    (let* ((vars (map (compose truncate lookup-var) gensyms))
>           ...)
>      ...)

Better to truncate when adding variables to all expand-time
environments, I would think, in the form of `(cut make-primcall #f
'values <>)'.

Andy
-- 
http://wingolog.org/



reply via email to

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