I find that 99% of the time when I'm using syntax parameters, I'm just using them with make-rename-transformer to implement macro-dependent keyword-like things, such as `aif` and `it`. So I made a small helper macro syntax-parameterize-rename:
(syntax-parameterize-rename ([param #'foo]) ...) expands to (syntax-parameterize ([param (make-rename-transformer #'foo)]) ...) It seems weird to put it in a package when it's so heavily tied to the core syntax-parameterize form. I've added it to my fork of the Racket repo. Would anyone else find this useful enough to warrant a pull request? The code is at https://github.com/jackfirth/racket/tree/stx-param-rename -- 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.