Thank you very much for you replies.
1. Yes, I wanted to avoid type switches (in different modules).
2. "myType" is a placeholder for more complex types, and the type "Compare"
is only the the first in a row. The goal is some kind of a "contain"
operation over lists of different objects (thats w
Thank you very much, for your replies. I think noe I maybe understand the
problem a lot better.
1. Yes I wanted to avoid type switches, escpacially in different modules.
2. "myType" ist a placeholder for a complext struct, and the comparison
operators are only the basics. The goal are "contain" a