In file ~/.iex.exs I have a module defined with several functions and I want to call those functions from iex shell without the module name prefix.
Using import SomeModule does not work, I'm getting error:
module SomeModule is not loaded but was defined. This happens because you are trying to use a module in the same context it is defined. Try defining the module outside the context that requires it.
Is there some way of doing this in the ~/.iex.exs?