I would like to have a function that returns the name of the function in the argument, e.g.:
function give_me_my_name(f::Function)
return ??? (f);
end
such that
give_me_my_name(sin)
returns
sin
as a string. How do I do that?
8 posts - 2 participants