What is the standard way to define a callback function, or a function handle in Julia?
Suppose I define
function myFun(a, b, c, d)
a - 3* b - c * d # The return value
end
My goal is to fix b = 1, c = 2, d = 3, and pass myFun as a function of a. Something like:
newFun2(x) = myFun(x, 1 ,2, 3)
myReceiver(myFun2)