From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: passing flags to a function Date: Tue, 02 May 2006 18:55:18 +0200 Organization: LAAS-CNRS Message-ID: <87mze0pds9.fsf@laas.fr> References: <44574FA0.1050108@mtl.mit.edu> <874q08qw42.fsf@laas.fr> <445786F6.6030108@mtl.mit.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1146588947 24720 80.91.229.2 (2 May 2006 16:55:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 May 2006 16:55:47 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue May 02 18:55:45 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 1Fay9u-0007Mr-JM for guile-user@m.gmane.org; Tue, 02 May 2006 18:55:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fay9u-00061h-8O for guile-user@m.gmane.org; Tue, 02 May 2006 12:55:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fay9q-00061S-A1 for guile-user@gnu.org; Tue, 02 May 2006 12:55:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fay9m-00060i-MJ for guile-user@gnu.org; Tue, 02 May 2006 12:55:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fay9m-00060f-Jo for guile-user@gnu.org; Tue, 02 May 2006 12:55:26 -0400 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Fay9x-0006qL-WB for guile-user@gnu.org; Tue, 02 May 2006 12:55:38 -0400 Original-Received: by laas.laas.fr (8.13.6/8.13.4) with SMTP id k42GtMbI029247; Tue, 2 May 2006 18:55:24 +0200 (CEST) Original-To: Dan McMahill X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 13 =?iso-8859-1?Q?Flor=E9al?= an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: Dan McMahill , guile-user@gnu.org In-Reply-To: <445786F6.6030108@mtl.mit.edu> (Dan McMahill's message of "Tue, 02 May 2006 12:21:10 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS 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:5275 Archived-At: Hi, Dan McMahill writes: > Thanks for the reply. Could you show a short example of what the > scheme function call might look like? > > Are you meaning > > (foo (list 'flag1 'flag2 'someotherflag)) Rather, it would look like: (foo 'flag1 'flag2 'someotherflag) This is because my example uses "rest" arguments, but you could also do the same as what you describe using a non-rest list argument. Thanks, Ludovic. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user