DNF, that's because, for practical reasons, this function is defined inside a module, but the types are defined by the user outside. So when Julia uses the module, it doesn't know yet these T1 and T2. Lutfullah, this solution doesn't work for the same reason.
- [julia-users] Writing a function for two different types,... amiksvi
- Re: [julia-users] Writing a function for two differe... Mike Innes
- Re: [julia-users] Writing a function for two dif... amiksvi
- Re: [julia-users] Writing a function for two... amiksvi
- Re: [julia-users] Writing a function for... Lutfullah Tomak
- Re: [julia-users] Writing a function for... DNF
- Re: [julia-users] Writing a functio... amiksvi
- Re: [julia-users] Writing a fun... Lutfullah Tomak
- Re: [julia-users] Writing a... Stefan Karpinski
