[plt-scheme] Where is macroexpand in PLT Scheme?
--- Robby Findler <robby at cs.uchicago.edu> wrote:
> 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.
Ah, ok - the second syntax object has m.ss as the
source. That makes sense. However, look at the first
syntax object - it has colorer.ss as the source. That
doesn't make sense to me. Why is colorer.ss the source
file for "require"?
--
Bill Clementson
__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree