> On Mar 20, 2019, at 7:09 AM, zeRusski <vladilen.ko...@gmail.com> wrote: > > Both implement the same generic interface. Far as I can tell dispatch will > choose marlin's implementation on that kind of instance. Is there a way for > me to delegate to fish's method from inside marlin's method with the same > name? I can introduce a level of indirection and extract fish's > implementation into a function that I could call from marlin's method but > that feels wrong somehow.
I wouldn't say wrong — but I've found that the object system (which also cooperates with generics) is more convenient for describing these relationships. -- 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.