Hi,

Is there a way to add a method to a generic function during runtime? Or to 
merge two generic functions? For example:


function abc end
function xyz end

function add_method(method, func)
      #Add method to func
end

add_method(xyz) do x::Int
   x*2
end

or

add_method(x -> x * 4, abc)


Thanks,
Vinuth.



Reply via email to