guile-user
[Top][All Lists]
Advanced

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

Re: Please explain different macros


From: Dale P. Smith
Subject: Re: Please explain different macros
Date: Fri, 20 Apr 2001 13:52:18 -0400

Marius Vollmer wrote:
> 
> "Dale P. Smith" <address@hidden> writes:
> 
> > Could someone please explain (in plain english) the differences
> > between the 3 different kinds of "native" macros that Guile
> > supports.  As opposed to the system in r5rs?  We have acro, macro
> > and mmacro.
> 
> Given the form
> 
>     (foo ...)
> 
> the following things happen when it is evaluated:

...

Thanks!  That helps.

> If you do not have a very special reason to use one of the
> `procedure->...' functions, you should avoid them.  Use `defmacro',
> `define-macro' or `define-syntax' instead.

I just grabbed the docs for those because they were almost identical.

So: defmacro is acro, define-macro is macro, define-syntax is mmacro ?

-- 
Dale P. Smith
Treasurer, Cleveland Linux Users Group http://cleveland.lug.net
Senior Systems Consultant, Altus Technologies Corporation
address@hidden
440-746-9000 x309



reply via email to

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