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

Re: define-macro bug?

Probably not, simply foo was only compiled but not defined.
Macros however must be defined during compilation.

MrSpidey in DrScheme v103 had sometimes similar problems with checking
file correctnes.  One had to force foo to be defined during 
(begin-elaboration-time if I remember correctly).

Zbyszek Jurkiewicz

On 21 Apr 2002, Ittai Balaban wrote:

> Hi.
> I've run into the following in v200 (the last beta, 12 I think):
> (require (lib "defmacro.ss"))
> > (define foo (lambda args args))
> > (define-macro eggroll foo)
> reference to undefined identifier: foo
> > (define-macro eggroll (lambda args args))
> > 
> This is a bug in the define-macro syntax, no?
> Ittai