From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.user Subject: Re: values->list elements Date: Fri, 16 Jun 2006 09:00:40 +0100 Message-ID: <874pylpm1j.fsf@ossau.uklinux.net> References: <448E12B1.8070709@fastmail.fm> <448EF3EF.7010006@freemail.hu> <448F0BDE.2050708@fastmail.fm> <449246D1.2060300@freemail.hu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150444881 14808 80.91.229.2 (16 Jun 2006 08:01:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Jun 2006 08:01:21 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jun 16 10:01:15 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 1Fr9GR-0002tE-3n for guile-user@m.gmane.org; Fri, 16 Jun 2006 10:01:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fr9GQ-0001Oa-OC for guile-user@m.gmane.org; Fri, 16 Jun 2006 04:01:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fr9GM-0001OS-Mf for guile-user@gnu.org; Fri, 16 Jun 2006 04:01:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fr9GJ-0001O3-Ru for guile-user@gnu.org; Fri, 16 Jun 2006 04:01:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fr9GJ-0001O0-Nd for guile-user@gnu.org; Fri, 16 Jun 2006 04:01:03 -0400 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fr9Pt-0005YM-Cz for guile-user@gnu.org; Fri, 16 Jun 2006 04:10:57 -0400 Original-Received: from laruns (host81-129-157-146.range81-129.btcentralplus.com [81.129.157.146]) by mail3.uklinux.net (Postfix) with ESMTP id E8BFE409FBE; Fri, 16 Jun 2006 08:01:01 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id B9A956FDDB; Fri, 16 Jun 2006 09:00:40 +0100 (BST) Original-To: szgyg In-Reply-To: <449246D1.2060300@freemail.hu> (szgyg@freemail.hu's message of "Fri, 16 Jun 2006 07:51:13 +0200") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) 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:5371 Archived-At: szgyg writes: > This isn't a new idea, but the original semantic. > > | (this is not a serious proposal for a language extension, > | but only an example): > | (1) Wherever n consecutive arguments might be written in > | a function call, one may instead write {f x1 ... xm}n, > | where n is a positive integer. The "function" f must > | return n values, which are used as n arguments > | in the function call. > | (2) The primitive (values x1 ... xn) returns its n arguments > | as its n values. Thus writing "{values x1 ... xn}n" is > | the same as writing "x1 ... xn" as arguments in a > | function call. > > [Guy L. Steele: LAMBDA: The Ultimate Declarative, 1976, p 18-19] Interesting! So how come RnRS turned out not to include this? Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user