> Le 3 oct. 2023 à 20:35, Maxime Devos <maximede...@telenet.be> a écrit : > > It's explained in ‘(guile)Methods and Generic Functions’ how to do this. > > However, I very much recommend not doing this in your situation.
+1. I'd recommend only implementing a method foo on a type bar if you are in control of either foo or bar. (Rust has an analogous concept called "trait coherence".)