From: hufflen jean-michel (hufflen at lifc.univ-fcomte.fr) Date: Mon Feb 20 12:49:10 EST 2006 |
|
Dear PLT Scheme friends, I have a "philosophical" question. If I write: (+ 0 (values 1 2)) that causes an error, because "+" can consume only one value. But why do you raise the same error for: (define v (values 1 2)) For my point of view, we should be able to write: (call-with-values (lambda () (let ((v (values 1 2))) v)) +) or even: (let ((v (values 1 2))) (call-with-values (lambda () v) +)) What do you think? Yours sincerely, J.-M. Hufflen
Posted on the users mailing list. |
|