I guess I missed the part outside but isn't it the same without imposing any type on x without defining T1, and T2 before the module import? Like myf{T1,T2}(x::Union{T1,T2}) vs myf{T<:ANY}(x::T)
- [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