Very nice example, thanks Georges. Btw, with "Macro Hiding: Disabled" we can see that after foo is turned into #'1 (printed '1' in the macro stepper), then the 1 is 'tagged' with (#%datum . 1) and then right after that turned into (quote 1). Is the tagging step necessary for numbers?
On Fri, Feb 3, 2017 at 5:26 AM, Dupéron Georges <jahvascriptman...@gmail.com > wrote: > PS: a nice example to try in the macro stepper, to see the evaluation > order: > > #lang racket > (define-syntax (foo stx) #'1) > (define-syntax (bar stx) #'foo) > > (let () > bar > (let () > bar > (let () > bar > bar) > (#%expression bar) > bar) > (+ bar bar) > bar) > > -- > 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. > -- 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.