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.
10 lines
177 B
10 lines
177 B
2 years ago
|
|
||
|
Exercise 2.18: Define a procedure reverse
|
||
|
that takes a list as argument and returns a list of the same elements in
|
||
|
reverse order:
|
||
|
|
||
|
|
||
|
(reverse (list 1 4 9 16 25))
|
||
|
(25 16 9 4 1)
|
||
|
|