[plt-scheme] Syntax and namespaces

From: Don Felgar (dfelgar at rainier-infosys.com)
Date: Sat Aug 28 03:16:11 EDT 2004

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?

Thanks
Don


Posted on the users mailing list.