[plt-dev] macro stepper question

From: Chongkai Zhu (czhu at cs.utah.edu)
Date: Wed Mar 11 00:28:06 EDT 2009

Macro step on the following code with standard hiding (or as long as 
mzscheme syntax is hidden):

(require scheme/package)

(define-syntax-rule (d t)

(match (d 1)
  (x x))

(define-package p #:all-defined
  (match (d 1)
    (x x)))

The (d 1) in the top-level match expression gets expended, but the same 
macro in the package stay unexpanded. Is this a bug?


Posted on the dev mailing list.