ModuleMixins.jl: seamless data composition

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

Very much OT: I saw you use a non-default way to build documentation in CarboKitten.jl, using Entangled for documentation.
What’s it gives you more/different than Literate.jl / Documenter.jl ?