I have an Elixir project managed by mix. When started with iex -S mix
all Elixir modules within my lib folder get loaded. An Erlang module in an .erl
file within the lib folder doesn't.
I'd like to know either a) how do I load an Erlang module explicitly from my Elixir code or b) what do I have to do to have mix autoload the Erlang module, too. (Preferably both ;) )
.ex
file in the first place? Put in into.erl
file. – Aleksei Matiushkin.erl
file. I corrected the question. Thanks for the hint. – Niko