[Top][All Lists]
[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 22:00:28 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
On Mon 05 Dec 2011 21:57, Andy Wingo <address@hidden> writes:
>> (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 <>)'.
Rather, something like:
(define (truncate x)
(match x
((<const>) x)
;; similar provably singly-valued cases here
(else (make-primcall #f 'values (list x)))))
Andy
--
http://wingolog.org/
Re: or values bug?, rixed, 2011/12/06