Dear Forum,

I  have  one  simple question. Suppose we have an immutable list whose
entries are immutable lists (e.g. l := [ [1,2], [3,4] ] ). What is the
easiest  way  to  make  a  mutable copy of this structure (so that the
entries become also mutable). The one I came up with is obvious

List(l, x->List(x));

It works here (where I need it), but what if the dimension of the list
is  bigger  than  2?  Maybe  there is something more general? Or it is
necessary to use some recursion?

Thank you!
Dmytro Savchuk

_______________________________________________
Forum mailing list
[email protected]
http://mail.gap-system.org/mailman/listinfo/forum

Reply via email to