From cca6db4ff0e434752288378b78216737cd08a6b4 Mon Sep 17 00:00:00 2001 From: Leif Andersen Date: Tue, 11 Jul 2017 12:30:45 -0400 Subject: [PATCH] Add links for examples to contracted functions. is-a?/c -> is-a? implementation?/c -> implementation? subclass?/c -> subclass? --- pkgs/racket-doc/scribblings/reference/class.scrbl | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/racket-doc/scribblings/reference/class.scrbl b/pkgs/racket-doc/scribblings/reference/class.scrbl index e95455db04..d7fb9e9fe0 100644 --- a/pkgs/racket-doc/scribblings/reference/class.scrbl +++ b/pkgs/racket-doc/scribblings/reference/class.scrbl @@ -2188,20 +2188,23 @@ that the result of the function is a subclass of the input.} @defproc[(is-a?/c [type (or/c class? interface?)]) flat-contract?]{ Accepts a class or interface and returns a flat contract that -recognizes objects that instantiate the class/interface.} +recognizes objects that instantiate the class/interface. +See @racket[is-a?].} @defproc[(implementation?/c [interface interface?]) flat-contract?]{ Returns a flat contract that recognizes classes that implement -@racket[interface].} +@racket[interface]. +See @racket[implementation?].} @defproc[(subclass?/c [class class?]) flat-contract?]{ Returns a flat contract that recognizes classes that -are subclasses of @racket[class].} +are subclasses of @racket[class]. +See @racket[subclass?].} @; ------------------------------------------------------------------------