While working on Elixir project, we often test our functions or modules code in iex shell. Whatever change we make in our code, we fire iex -S mix command and all of our project modules are accessible in shell. Suppose, we have a module say Calculat...

Markdown supported · ⌘↵ to post
so in your example above both types of Calculator will be aliased as Calculator hence the only Calculator you will have access to thru Alias will be Logrithmic one.
Better to do
alias Mathematics.Calculator
alias Mathematics.Logrithmic.Calculator, as: LogCalc
Wow! This a very well written article on how to use alias. Would you mind if I copy it or embed it in my blog?
Shad Mirza
Building Hashnode
Very well written AbulAsar Sayyad