circular-list? does not get stuck in an infinite loop if it is given a list such as '(1 2 3 2 3 2 3 2 3 ...).