In 0.5-rc4 your code runs without any warnings. I think only the call function was deprecated, not the :call symbol in an expression tree: dump(:(f(3))) yields: Expr head: Symbol call args: Array{Any}((2,)) 1: Symbol f 2: Int64 3 typ: Any
Cheers, Bart On Mon, Sep 19, 2016 at 9:32 AM Florian Oswald <florian.osw...@gmail.com> wrote: > i was trying to make sense of the final outcome of the discussion here > https://github.com/JuliaLang/julia/pull/13412, but no way. Also I'm not > sure what to search for in the documentation (?Base.call tells me it's > deprecated.) > > So: > > if up to now I programmatically evaluate a function f like that: > > f(x) = x^2 > > eval(Expr(:call,f,3)) > 9 > > what's the new way of doing that? > cheers > florian >