unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* values->list elements
@ 2006-06-13  1:19 Jon Wilson
  2006-06-13 17:20 ` szgyg
  2006-06-13 21:17 ` Neil Jerram
  0 siblings, 2 replies; 12+ messages in thread
From: Jon Wilson @ 2006-06-13  1:19 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-06-19  1:12 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13  1:19 values->list elements Jon Wilson
2006-06-13 17:20 ` szgyg
2006-06-13 19:02   ` Jonathan Wilson
2006-06-16  5:51     ` szgyg
2006-06-16  8:00       ` Neil Jerram
2006-06-16 18:15         ` szgyg
2006-06-19  0:51           ` Jon Wilson
2006-06-19  1:12             ` Per Bothner
2006-06-13 21:14   ` Neil Jerram
2006-06-13 21:17 ` Neil Jerram
2006-06-13 22:04   ` Jonathan Wilson
2006-06-13 22:24     ` Per Bothner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).