by gohrt · 12y ago · 0 comments
a[x] = 1
b = a
a[y] = 2 <---- mutates a
a[x] = 3 <-- is this legal?
b[x] <--- persistent- uh, what is Mathematica's semantics here?And b[x] there gives 1 as you would expect.
Write a = <||> before running the above code to test this on associations; associations are persistent, the symbol table is not.