[racket] Sending a method as a symbol

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Nov 14 09:32:34 EST 2011

At Sun, 13 Nov 2011 21:00:55 +0000, "nicolas.oury at gmail.com" wrote:
> Is there a function to send to a class with a dynamic symbol instead of a
> static one?
> 
> As in (send .... 'method-name)

I'll look into this more, but you can write

 (send-generic o (make-generic (object-interface o) 'method-name) arg ...)

which suggests that there really should be a variant of `send' that
works with symbolic method names. 



Posted on the users mailing list.