subst

[procedure] subst new old tree

ChezScheme: traverses tree, replacing all objects equivalent (equal?) to obj with the object new.

See also substq, substv, subst!