I’m happy to announce ModuleMixins.jl v0.4! This package is used to compose data structures and methods from smaller components. The new release is a complete rewrite using only (compile time) method dispatch (instead of more macro heavy approach in earlier versions) and a sprinkle of macros to reduce boiler plate. This module makes some high level design easier:
- Build complex data structures from small components
- Solves the diamond dependency problem for composition
- Swap out functionality using abstract roles
- Apply methods to all parts of a composite type
- Plays nice with Revise
Examples and tutorials are found in the ModuleMixins documentation.
Cheers!
Johan Hidding