From ec2563fdd311697bd335dfb16c3111c8ae1d5194 Mon Sep 17 00:00:00 2001 From: Asumu Takikawa Date: Fri, 18 May 2012 18:40:48 -0400 Subject: [PATCH] Add comment about coerce-method-table --- collects/racket/private/generics.rkt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/collects/racket/private/generics.rkt b/collects/racket/private/generics.rkt index 780e82ce9f..8447a9069f 100644 --- a/collects/racket/private/generics.rkt +++ b/collects/racket/private/generics.rkt @@ -145,6 +145,12 @@ ;; The coercion function should take whatever lives at prop:name ;; according to its old extension API, and produce a vector of ;; methods in the defined order. + ;; + ;; Note: this feature turned out to be less useful than we + ;; expected, because most of the backwards compatibility + ;; examples we found were much more complicated. It would + ;; have been useful for equal+hash were it not defined + ;; in the C code. #,@(if need-coercion? (list #'(define-values (prop:name unused unused2)