From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jon Wilson Newsgroups: gmane.lisp.guile.user Subject: values->list elements Date: Mon, 12 Jun 2006 20:19:45 -0500 Message-ID: <448E12B1.8070709@fastmail.fm> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1150161597 22809 80.91.229.2 (13 Jun 2006 01:19:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Jun 2006 01:19:57 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jun 13 03:19:54 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FpxZK-0004hF-Qr for guile-user@m.gmane.org; Tue, 13 Jun 2006 03:19:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpxZK-0001zz-5N for guile-user@m.gmane.org; Mon, 12 Jun 2006 21:19:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FpxZF-0001zU-Of for guile-user@gnu.org; Mon, 12 Jun 2006 21:19:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FpxZD-0001zC-Gc for guile-user@gnu.org; Mon, 12 Jun 2006 21:19:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpxZD-0001z9-EA for guile-user@gnu.org; Mon, 12 Jun 2006 21:19:39 -0400 Original-Received: from [131.225.111.11] (helo=mailgw1.fnal.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fpxi3-0000RG-JN for guile-user@gnu.org; Mon, 12 Jun 2006 21:28:47 -0400 Original-Received: from mailav2.fnal.gov (mailav2.fnal.gov [131.225.111.20]) by mailgw1.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with SMTP id <0J0R0070JYC79B@mailgw1.fnal.gov> for guile-user@gnu.org; Mon, 12 Jun 2006 20:19:37 -0500 (CDT) Original-Received: from mailgw2.fnal.gov ([131.225.111.12]) by mailav2.fnal.gov (SAVSMTP 3.1.7.47) with SMTP id M2006061220193720400 for ; Mon, 12 Jun 2006 20:19:37 -0500 Original-Received: from conversion-daemon.mailgw2.fnal.gov by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) id <0J0R00101XPW3P@mailgw2.fnal.gov> (original mail from j85wilson@fastmail.fm) for guile-user@gnu.org; Mon, 12 Jun 2006 20:19:37 -0500 (CDT) Original-Received: from [64.53.130.230] (d53-64-230-130.nap.wideopenwest.com [64.53.130.230]) by mailgw2.fnal.gov (iPlanet Messaging Server 5.2 HotFix 2.06 (built Mar 28 2005)) with ESMTPSA id <0J0R00E5IYCOI3@mailgw2.fnal.gov> for guile-user@gnu.org; Mon, 12 Jun 2006 20:19:37 -0500 (CDT) Original-To: guile-user X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:5352 Archived-At: 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