Re: [racket] Confusion with syntax marks

2011-10-08 Thread Eric Dobson
Thanks. That is what I eventually figured out I needed to do. Also the original problem was a bug in the Macro Stepper, pr12248, which only added to my confusion. -Eric On Oct 8, 2011, at 12:18 PM, Marco Maggi wrote: > Eric Dobson wrote: > >> I am playing around with syntax marks and have a

Re: [racket] Confusion with syntax marks

2011-10-08 Thread Marco Maggi
Eric Dobson wrote: > I am playing around with syntax marks and have a program > whose output confuses me. > > #lang racket > (require (for-syntax racket/syntax)) > (define-for-syntax marker (make-syntax-introducer)) > (define-syntax (mark stx) > (syntax-case stx () > ((_ arg ...) (marker #

[racket] Confusion with syntax marks

2011-10-01 Thread Eric Dobson
I am playing around with syntax marks and have a program whose output confuses me. #lang racket (require (for-syntax racket/syntax)) (define-for-syntax marker (make-syntax-introducer)) (define-syntax (mark stx) (syntax-case stx () ((_ arg ...) (marker #'(begin arg ...) (define foo '