I am trying to write a function f1 that takes a function f2 and arguments 
of f2 as parameters,
modifies some arguments of f2,  and calls f2 with the modified arguments.

function f1(f2::Function, args...)
  #iterate through the args and modify some of the contents of args
  f2(args)
end

Any suggestions on how to do this?

Thanks.





 

Reply via email to