guile-user
[Top][All Lists]
Advanced

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

values->list elements


From: Jon Wilson
Subject: values->list elements
Date: Mon, 12 Jun 2006 20:19:45 -0500
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050324)

Hi y'all,
Is there any sensible way to implement the following semantics:

(+ (values 1 2))
==>
3

Or perhaps with a macro of some sort (but preferably as above)...

(+ (values->list-elements (values 1 2)))
==>
3

The intermediate step (after the macro expansion I guess) would look like

(+ 1 2)
==>
3

It seems like this would make multiple values much much more useful.

Regards,
Jon




reply via email to

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