I understand the pass-by-sharing concept, but if I want to use only the 
value of a variable?
Simple example to illustrate what I'm trying to say:

julia> a = 10
10

julia> f(x) = a*x
f (generic function with 1 method)

julia> f(2)
20

julia> a = 20
20

julia> f(2)
40

I don't wan to to change the function when I change the value of a.

Grats,
Thuener Silva

Reply via email to