-- -*- M2-comint -*- hash: 2912460075283765841

i1 : T = new MutableHashTable from {a => 1, b => 2, c => 3}; peek T

o2 = MutableHashTable{a => 1}
                      b => 2
                      c => 3

i3 : remove(T, a)

o3 = 1

i4 : peek T

o4 = MutableHashTable{b => 2}
                      c => 3

i5 : T = new HashTable from {a => 1, b => 2, c => 3}

o5 = HashTable{a => 1}
               b => 2
               c => 3

o5 : HashTable

i6 : T = applyPairs(T, (k, v) -> if k =!= a then (k, v))

o6 = HashTable{b => 2}
               c => 3

o6 : HashTable

i7 : T = new MutableList from {1, 2, 3, 4}; peek T

o8 = MutableList{1, 2, 3, 4}

i9 : remove(T, 0)

o9 = 1

i10 : peek T

o10 = MutableList{2, 3, 4}

i11 : remove(T, -1)

o11 = 4

i12 : peek T

o12 = MutableList{2, 3}

i13 : 
