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


_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to