erg 0.6.53

The Erg programming language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
v = ![]
v.push! 1

w = v
print! w
print! v # this should cause a MoveError

push! |T| a: RefMut(List!(T, _)), value: T =
    a.push! value

push! w, 2
print! w # OK