From: Dan McMahill <mcmahill@mtl.mit.edu>
Cc: guile-user@gnu.org
Subject: Re: passing flags to a function
Date: Tue, 02 May 2006 12:56:54 -0400 [thread overview]
Message-ID: <44578F56.4070804@mtl.mit.edu> (raw)
In-Reply-To: <87mze0pds9.fsf@laas.fr>
Ludovic Courtès wrote:
> Hi,
>
> Dan McMahill <mcmahill@mtl.mit.edu> 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
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2006-05-02 16:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-02 12:25 passing flags to a function Dan McMahill
2006-05-02 15:34 ` Ludovic Courtès
2006-05-02 16:21 ` Dan McMahill
2006-05-02 16:55 ` Ludovic Courtès
2006-05-02 16:56 ` Dan McMahill [this message]
2006-05-07 21:03 ` Marius Vollmer
2006-05-02 16:14 ` Clinton Ebadi
2006-05-03 1:43 ` Kevin Ryde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44578F56.4070804@mtl.mit.edu \
--to=mcmahill@mtl.mit.edu \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).