Answer to Question s2-26
Type error.
The right-hand operand of
:
is always a list. It cannot be 1.
Incorrect.
This suggests that the first two members of successors(
L
) are head(
L
)+1 and head(
L
). But successors([1,5,9]) = [2,6,10].