[racket] Macros: dealing with optional elements
Laurent writes:
> Unsyntax-splicing to the rescue!
Great, this evokes memories of Common Lisp macros... More importantly, it works!
J. Ian Johnson writes:
> This is such a common pattern that there is support for it with a
> feature called syntax templates, in
> syntax/parse/experimental/template. You would use (?? super) to add
> super only if it's given, and nothing otherwise.
Good to see that this is a common pattern. I hope the experiment will prove
satisfactory. For me at least it works fine.
Thanks to both of you,
Konrad.