[racket] Applying keyword arguments to (send)

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Fri Nov 25 15:29:55 EST 2011

At Thu, 24 Nov 2011 12:01:15 -0700, Michael W wrote:
> (send) supports apply-style calling by calling it with a dotted
> parameter. How can I call a method with a list of *keyword*
> arguments?

As of v5.2, I think it's only possible via `eval', which is ugly at

 (define-namespace-anchor a)
 (eval `(send f eat . ,args) (namespace-anchor->namespace a))

I've added `send/keyword-apply' to v5.2.0.4.

Posted on the users mailing list.