On Tue, Mar 3, 2020 at 12:37 PM Kevin Forchione <lyss...@gmail.com> wrote: > > Thanks! That brings me a little closer in appreciating the comments I’ve > read about replacing object-oriented code with structs and methods. > > Is this part of the racket/generic or the Multimethods library? The example > you provide works from racket/generic, but the search in docs pulls up only > the multimethod docs and the examples don’t work from racket/generic. > > Kevin
It's in racket/generic. Here's a link to the documentation for `define/generic`: https://docs.racket-lang.org/reference/struct-generics.html?q=define%2Fgeneric#%28form._%28%28lib._racket%2Fgeneric..rkt%29._define%2Fgeneric%29%29 - Jon -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAKfDxxxfSLiqwYof4DaanadssHMTtR2QTJk2Q1nNRzGssoM1zw%40mail.gmail.com.