You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
270 B
7 lines
270 B
2 years ago
|
|
||
|
Exercise 4.68: Define rules to implement the
|
||
|
reverse operation of Exercise 2.18, which returns a list
|
||
|
containing the same elements as a given list in reverse order. (Hint: Use
|
||
|
append-to-form.) Can your rules answer both (reverse (1 2 3) ?x)
|
||
|
and (reverse ?x (1 2 3))?
|