[plt-scheme] Where is macroexpand in PLT Scheme?

From: Robby Findler (robby at cs.uchicago.edu)
Date: Tue Nov 11 21:27:14 EST 2003

At Tue, 11 Nov 2003 17:21:20 -0800 (PST), Bill Clementson wrote:
> It seems odd that it always shows up as colorer.ss or
> #f. Maybe it is getting confused somewhere and is
> using the filename of the last editor object that was
> used (in this case, the syntax colorer?)?

No DrScheme's got it right, I think. All of your source is either some
unknown place or the definitions window.

Try this:

  file m.ss:

    (module m mzscheme
      (provide m)
      (define-syntax (m stx)
        (syntax 1)))

  in the definitions window:

     (require (file "~/Desktop/m.scm"))
     (m 1)

Then, look at the second syntax.


Posted on the users mailing list.