> > I want to define some syntax with an optional keyword but no arguments > > behind it. Something like #:mutable in struct. The pattern seems > > obvious: > > > > (~optional #:my-keyword) > > > > but I don't see how I can detect the presence or absence of the > > keyword in the code that I generate. There is no attribute for > > which I could define a default.
Thanks to all who sent suggestions! They led me to the section on "action patterns" in the manual, which I hadn't explored before. Konrad. -- 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.