59 likes
·
1.3K reads
5 comments
·Sep 26, 2020
Sep 26, 2020
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
2
·
·1 reply
Author
·Sep 26, 2020
Ah, thanks for pointing. I randomly added that example. I'll change it. Thanks
·
·Sep 26, 2020
Sep 26, 2020
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?
1
·
·Sep 28, 2020
Sep 28, 2020
Very well written AbulAsar Sayyad
·
·1 reply
Author
·Sep 28, 2020
Thank you Mohd Shad Mirza :)
·