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

Re: Macros in DrScheme 103



You have to use the non-debugging languages to get expand-defmacro. Or,
you can try v200, available from our CVS server:

  http://www.cs.utah.edu/plt/anoncvs/

Robby

At Fri, 15 Mar 2002 16:43:11 +0100 (CET), Zbyszek Jurkiewicz wrote:
> In DrScheme 103 I obtain the following (strange) behavior:
> 
> > (define-macro foo (lambda (x) `(f1 ,x ,x)))
> > (expand-defmacro '(foo 1))
> (foo 1)
> 
> while it works correctly in plain MzScheme and in MrEd:
> 
> > (define-macro foo (lambda (x) `(f1 ,x ,x)))
> > (expand-defmacro '(foo 1))
> (f1 1 1)
> 
> Is it intended for some reason or is it plain error?
> 
> Best regards,
> 
> Zbyszek Jurkiewicz
>