You might want to have a look at these packages:
- YingboMa/Unityper.jl (github.com)
- rjplevin/Classes.jl: A simple, Julian approach to inheritance of structure and methods (github.com)
- gcalderone/ReusePatterns.jl: Implement composition and concrete subtyping in Julia. (github.com)
- ANN: StructuralInheritance.jl - Community - JuliaLang
- rafaqz/Mixers.jl: Julia mixin macros. Mixed, not stirred (github.com)
- JeffreySarnoff/TypedDelegation.jl: Easily apply functions onto fields’ values. Use a struct’s fields as operands for operations on values of that type. (github.com)