Answer to Question s7

Incorrect. The value of expression h++ is the value of h. Variable h is changed after getting its value. If L = [2], then successors returns cons(2, successors([ ])) = [2]. But the correct answer is [3].

Do not use ++ as a substitute for +1. Do not use ++ in expressions at all until you understand exactly what it means.