Hi Arda, As Stefan sad, you need import those Base functions or use Base.convert and Base.promote_rule to add a new method to them. You may notice in repl that if you do not import them after typing those methods you have only 1 methods for each of those functions.
- [julia-users] promotion and conversion Arda Aytekin
- Re: [julia-users] promotion and conversion Stefan Karpinski
- Re: [julia-users] promotion and conversion Lutfullah Tomak
- Re: [julia-users] promotion and conversion Arda Aytekin
- Re: [julia-users] promotion and conversion Lutfullah Tomak