2 ms·
a simple illustration of rebinding vs mutation def t() do x=1 f=fn -> x end x=2 f.() end will return 1
by qaq 10y ago
a simple illustration of rebinding vs mutation
def t() do
x=1
f=fn -> x end
x=2
f.()
end
will return 1
2 ms·