I understand the pass-by-sharing concept, but how can I use only the variable value on a function?
Simple example to illustrate what I'm trying to say:
julia> a = 10
julia> f(x) = a*x
f (generic function with 1 method)
julia> a = 20
I don't want this function to change when I change the value of a.