Write a Scheme predicate function that tests for the structural equality of two given lists. Two lists are structurally equal if they have the same list structure, although their atoms may be different.
(123) (456) is ok
(1(23))((12)3) is not ok
I have no idea how to do this. Any help would be appreciated.
Here are some hints. This one is a bit repetitive to write, because the question looks like homework I’ll let you fill-in the details: