Re: [racket-users] Expanding Macros

2020-07-09 Thread Thomas Del Vecchio
Thanks so much! Using (with-syntax ([expanded-b (datum->syntax #'b (local-expand #'b 'expression #f))]) worked out great! On Thursday, July 9, 2020 at 9:44:08 PM UTC-4, William J. Bowman wrote: > > You might want `local-expand`. It can still give you something that is > expanded > further th

Re: [racket-users] Expanding Macros

2020-07-09 Thread William J. Bowman
You might want `local-expand`. It can still give you something that is expanded further than you want, unless you know exactly which identifier you want to stop at, which you can specify in the stop list. https://docs.racket-lang.org/reference/stxtrans.html#%28def._%28%28quote._~23~25kernel%29._