No success.
println(SymbolicUtils.substitute(df,2))
`ERROR: LoadError: MethodError: no method matching haskey(::Int64, ::Num)
Closest candidates are:
haskey(::DataStructures.SwissDict, ::Any) at /home/briand/.julia/packages/DataStructures/ixwFs/src/swiss_dict.jl:534
looking at the documentation, it seems to me like substitute is meant to substitute a different expression, not to evaluate an expression numerically.
FYI, i have tried using build_function in various ways without success, thinking that I might be able to get that to return something that could be used to evaluate at a value.
edit:
The answer is…
println(SymbolicUtils.substitute(df,Dict(x=>2.0)))
My goal is to of course generate a function which is compiled in as code, but give me some time to get through the documentation