I don't really get what generics are. What is the difference between this:

(define show (generic window<%> show))

(send-generic a-window show #t)

and this:

(send a-window show #t)

If the former re...uses the (generic window<%> show) method to be "more" 
efficient, then why isn't show already a generic, and why don't we have (send) 
always use generics? Is it just that (send) existed before generics?

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