You should not need eval
for this. A closure is fine, eg
f(x, y, z) = x + y + z
y, z = 2, 3
g = x -> f(x, y, z)
g(1)
You should not need eval
for this. A closure is fine, eg
f(x, y, z) = x + y + z
y, z = 2, 3
g = x -> f(x, y, z)
g(1)