Hello,

I am trying to find out how to specify the type of a callback function, for 
example suppose

function myFunc( someArg::Int64, callbackFn )
   # do something
   # then call callbackFn
   callbackFn( <args> )
end

I would like to specify the type of callbackFn, for example returning Int64 
and taking a tuple as arguments.
I looked at the docs but maybe I missed it, but which is the syntax for 
specifying a function type?

Thanks.

Reply via email to