Mixin has been released.
Mixin for Elixir.
Delegates all functions to ModuleA from moduleB.
Works like a so-called Mixin
.
Links
Usage
iex> defmodele ForDocFoo do
...> def foo, do: :foo
...> end
iex> defmodele ForDocBar do
...> require Mixin
...> Mixin.include ForDocFoo
...> end
iex> ForDocBar.foo
:foo
Read next Hello, Erlang! A new podcast