From: ludovic.courtes@laas.fr (Ludovic Courtès)
Cc: guile-user@gnu.org
Subject: Re: macro syntax
Date: Wed, 02 Nov 2005 09:49:03 +0100 [thread overview]
Message-ID: <87pspj305c.fsf@laas.fr> (raw)
In-Reply-To: <45e3b2820510291638h4a0a1bb9o12d5b3447f7d1881@mail.gmail.com> (Aurelien Chanudet's message of "Sun, 30 Oct 2005 01:38:46 +0200")
Hi,
Aurelien Chanudet <aurelien.chanudet@gmail.com> writes:
> (define (find-x f) (cdr (assoc f alist)))
You might want to use `assoc-ref' instead of `find-x'.
> How can I rewrite the macro new-func to factor out find-x in the macro
> definition ?
I don't clearly understand what you mean. Could you rephrase it?
Thanks,
Ludovic.
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2005-11-02 8:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-29 23:38 macro syntax Aurelien Chanudet
2005-11-02 8:49 ` Ludovic Courtès [this message]
2005-11-02 10:03 ` Aurelien Chanudet
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=87pspj305c.fsf@laas.fr \
--to=ludovic.courtes@laas.fr \
--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).