[Top][All Lists]

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

Re: passing flags to a function

From: Ludovic Courtès
Subject: Re: passing flags to a function
Date: Tue, 02 May 2006 18:55:18 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)


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.


reply via email to

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