The type MutableList is a member of the class Type. Each object of class MutableList is called a mutable list. Each mutable list is also a member of class BasicList.
More general types (whose methods may also apply) :
Normally the entries in a mutable list are not printed, to prevent infinite loops in the printing routines. To print them out, use peek.
i1 : s = new MutableList from {a,b,c}; |
i2 : s#2 = 1234; |
i3 : s |
i4 : peek s |
See also:
Functions and methods returning a a mutable list :
Methods for using a mutable list :