On Wednesday, February 8, 2017 at 2:08:49 PM UTC-8, Ryan Culpepper wrote:
> 
>    (require (for-syntax syntax/parse/experimental/template))
>    (define-syntax (test-syntax stx)
> 
>      (define-splicing-syntax-class spec
>        .... as in your original version ....)
> 
>      (syntax-parse stx
>        ([_ s:spec ...]
>         (template
>          (test (?@ s.key s.value) ...)))))
> 

That is pretty cool... I didn't think that was possible. It's a little 
concerning that its experimental, but I'm guessing it'll be incorporated into 
the syntax/parse lib (or lower down) at some point.

-- 
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.

Reply via email to