[racket] keyword arguments in define-syntax-rule

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Wed Aug 10 12:58:34 EDT 2011

Can `define-syntax-rule' support keyword arguments? Preferably keywords
with default values.

(define-syntax-rule (foo #:x [x 5]) x)
(foo)
(foo #:x 2)

If this sounds like a good idea and could be implemented I can give it a
whirl.


Posted on the users mailing list.