substq

[procedure] substq new old tree

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

See also subst, substv, subst!