> On Jun 18, 2019, at 9:03 PM, Sorawee Porncharoenwase > <sorawee.pw...@gmail.com> wrote: > > Also note that with syntax/parse, it becomes much easier: > > (require (for-syntax syntax/parse)) > > (define-syntax (foo stx) > (syntax-parse stx > [(_ (key:id val:id ...) ...) > #'(quote (list ((quote key) (quote val) ...) ...))]))
Thanks! Looks like it’s finally time for me to do a deep dive into syntax-parse. Kevin -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/90AE6155-00A2-42F9-A518-A5114528B151%40gmail.com. For more options, visit https://groups.google.com/d/optout.