Hi, I'm writing a module inside which I want to define a function for two different types T1 and T2 that are defined outside the module, and there is no relation available (they are not subtypes of another type...). How could I write only one function instead of having code duplication?
Currently, my code is as follows:
function myf{T1}(x::T1)
...
end
