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.
sicp-all-tasks/sicp/3_002e18

6 lines
262 B

Exercise 3.18: Write a procedure that examines a
list and determines whether it contains a cycle, that is, whether a program
that tried to find the end of the list by taking successive cdrs would
go into an infinite loop. Exercise 3.13 constructed such lists.