From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: Re: let-keywords? Date: Thu, 14 Dec 2006 12:20:56 +0100 Message-ID: <45813398.70208@xs4all.nl> References: <8764cihuq2.fsf@zip.com.au> <457DF066.1060508@xs4all.nl> <87lklbo58a.fsf@zip.com.au> Reply-To: hanwen@xs4all.nl NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166095285 19235 80.91.229.10 (14 Dec 2006 11:21:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Dec 2006 11:21:25 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Dec 14 12:21:23 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GuoeL-0004WI-F6 for guile-devel@m.gmane.org; Thu, 14 Dec 2006 12:21:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuoeK-0006lV-FS for guile-devel@m.gmane.org; Thu, 14 Dec 2006 06:21:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuoeG-0006lG-Hg for guile-devel@gnu.org; Thu, 14 Dec 2006 06:21:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuoeF-0006kx-16 for guile-devel@gnu.org; Thu, 14 Dec 2006 06:21:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuoeE-0006ku-Tf for guile-devel@gnu.org; Thu, 14 Dec 2006 06:21:10 -0500 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GuoeE-0001bv-9e for guile-devel@gnu.org; Thu, 14 Dec 2006 06:21:11 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Guodz-0000Kc-3V for guile-devel@gnu.org; Thu, 14 Dec 2006 12:20:55 +0100 Original-Received: from muurbloem.xs4all.nl ([213.84.26.127]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Dec 2006 12:20:55 +0100 Original-Received: from hanwen by muurbloem.xs4all.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Dec 2006 12:20:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: guile-devel@gnu.org Original-Lines: 26 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: muurbloem.xs4all.nl User-Agent: Thunderbird 1.5.0.8 (X11/20061107) In-Reply-To: <87lklbo58a.fsf@zip.com.au> X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6336 Archived-At: Kevin Ryde escreveu: > I checked in the text below. > > > > 5.8.3.2 let-keywords Reference > .............................. > > `let-keywords' and `let-keywords*' extract values from keyword style > argument lists, binding local variables to those values or to defaults. > > -- library syntax: let-keywords args allow-other-keys? (binding ...) > body ... > -- library syntax: let-keywords* args allow-other-keys? (binding ...) > body ... > ARGS is evaluated and should give a list of the form `(#:keyword1 > value1 #:keyword2 value2 ...)'. The BINDINGs are variables and > default expressions, with the variables to be set (by name) from > the keyword values. The BODY forms are then evaluated and the > last is the result. An example will make the syntax clearest, excellent! -- Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel