Struct as subtype of multiple types

In short, this is requesting https://github.com/JuliaLang/julia/issues/5! With multiple dispatch, it is simply nontrivial to define the behavior, so it has not yet been attempted to be defined. Though I think the solutions given as suggestions (particularly Holy Traits) may help guide you to an alternative design.

3 Likes