[plt-scheme] Syntax and namespaces
> At Sat, 28 Aug 2004 00:16:11 -0700, Don Felgar wrote:
> > Given this:
> >
> > (define x "The quoted expression is: ")
> >
> > can I create something to this effect
> >
> > (define-syntax foo
> > (syntax-rules ()
> > ((_ path)
> > (begin
> > (display x)
> > (display 'path)
> > (newline)))))
> >
> > in a different namespace?
>
> I see several different answers, depending on exactly what you need.
Thanks for fielding this lame question. I was tired and left out the
real issue. I finally got traction with syntax-case and solved the
problem.
--Don