Re: [racket-users] Fun with keyword-apply

2017-02-08 Thread Dan Liebgold
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

Re: [racket-users] Fun with keyword-apply

2017-02-08 Thread Ryan Culpepper
On 02/08/2017 04:41 PM, Dan Liebgold wrote: Hi all - I have an odd syntax I'm trying to maintain backward compatibility with, but I'd like to take advantage of keyword parameters to accommodate the presence/absence/ordering of those parameters. Here's an example of what I'm trying to do:

[racket-users] Fun with keyword-apply

2017-02-08 Thread Dan Liebgold
Hi all - I have an odd syntax I'm trying to maintain backward compatibility with, but I'd like to take advantage of keyword parameters to accommodate the presence/absence/ordering of those parameters. Here's an example of what I'm trying to do: http://pasterack.org/pastes/88615 Can you think