> On Mar 3, 2020, at 10:48 AM, Jon Zeppieri <zeppi...@gmail.com> wrote:
>
> 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
Oh, I see. I searched for “define-generic” instead of “define/generic”! Well,
that explains my confusion and opens up more options as well. :)
Kevin
--
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/5FFB3F9E-0C68-4F6A-B36A-41D496F22103%40gmail.com.