News for hackers. Stuff that matters.
Re:Why Typing Erlang is Hard: Standard Erlang by lfischer on Friday November 06, 2020 @04:00PM (#25011080)
I believe an example of where binding differs from assignment is if you define a function which references a binding in the outer scope, the create a new binding with the same name in the outer scope, the value inside the function does not change: a = 1 f = fn -> a end f.() # returns 1 a = 2 f.() # still returns 1

There are no comments on this comment yet.