There should be a shallow copy option to the copy
command, or a separate command. As Alexandre Ferrieux
> While if one writes
> set m [copy -shallow $l]
> then only the toplevel is duplicated. This is useful
for example when
> sorting lists of vectors: you're interested in the
> references to the vectors (sublists), but you don't
want to spend the
> time of duplicating them.
Log in to post a comment.