-- -*- M2-comint -*- hash: 16618575752778112947

i1 : M = new Type of MutableList

o1 = M

o1 : Type

i2 : net M := m -> peek m

o2 = FunctionClosure[stdio:2:9-2:20]

o2 : FunctionClosure

i3 : M _ ZZ := (x,i) -> x#i

o3 = FunctionClosure[stdio:3:10-3:22]

o3 : FunctionClosure

i4 : installAssignmentMethod(symbol _, M, ZZ, (x,i,v) -> x#i = v);

i5 : y = new M from (a..z)

o5 = M{a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z}

o5 : M

i6 : y_12

o6 = m

o6 : Symbol

i7 : y_12 = foo

o7 = foo

o7 : Symbol

i8 : y

o8 = M{a, b, c, d, e, f, g, h, i, j, k, l, foo, n, o, p, q, r, s, t, u, v, w, x, y, z}

o8 : M

i9 : y_12

o9 = foo

o9 : Symbol

i10 : 
