guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing flags to a function


From: Dan McMahill
Subject: Re: passing flags to a function
Date: Tue, 02 May 2006 12:56:54 -0400
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.6) Gecko/20050412

Ludovic Courtès wrote:
Hi,

Dan McMahill <address@hidden> 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.


Thanks! I think this should be enough to get me pointed in the right direction.

-Dan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]