The program:

```
#lang racket

(define-syntax (exp stx)
  (define a (local-expand (cadr (syntax->list stx)) 'expression '()))
  (define one (cadr (syntax->list a)))
  (displayln (list one (syntax-original? one)))
  a)

(exp 1)
 ```

prints `(#<tmp.rkt:10:5 1> #f)`.

However if I open the macro stepper in and step to the end, the macro
stepper shows the corresponding `1` as `original?: #t`.

Why are these different?

--spencer

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to