diff --git a/julia/run.jl b/julia/run.jl index f5fcfd829454cfdfd59ca6f5a3d794defe1da7e4..c0331e1a1b0740c9a41a38edfc301819253e74e7 100644 --- a/julia/run.jl +++ b/julia/run.jl @@ -4,7 +4,7 @@ in the blanks, but most parts of the code are very similar.""" for (name,op) in [(:add, :+), (:sub, :-), (:mul, :*)] # Create a function that is named for example add and returns the # sum of its two arguments - @eval Base.$name(x,y) = x + y + end