copy_tree (s_exp)
A copy of the entire tree structure and elements of the argument, if it is a list. Otherwise, the argument.
This function makes a recursive copy of the entire tree structure of the argument if the argument is a list, otherwise it simply returns the argument. This produces a new list which is equal to the previous list, and whose elements are equal, but not eq. That is, the elements are all copied down to the level of the non-list leaves. They are equal to the original elements, but they are different elements. Thus they are equal but not eq.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.