That is no solution to my problem,
what if I want to do this
module Y
using X
function _ex_func()
println("Y module st")
end
_1ex_func()# this won't call Y._ex_func()
end
and i can't keep generating the functions for every module. It would be
tedious.
may be an AST node for module based look up for that fucntion would be
awesome, or a remote call kind of thing would be useful.
On Sunday, February 14, 2016 at 1:54:06 PM UTC-8, Lutfullah Tomak wrote:
>
> Instead of
> @eval @f ex_func
>
> this
> eval(Main, @f ex_func)
>
> might do that. I cannot test what you do with julia 0.5 because functions
> are now very diferent internally.
> @eval @f ex_func
> will be X.eval(@f ex_func) thus there will be X namespace but not outside
> of the module as shown from macroexpand.
>
>