guile-user
[Top][All Lists]
Advanced

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

Re: macro syntax


From: Ludovic Courtès
Subject: Re: macro syntax
Date: Wed, 02 Nov 2005 09:49:03 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

Hi,

Aurelien Chanudet <address@hidden> 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.




reply via email to

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