parent
							
								
									00d92c79bf
								
							
						
					
					
						commit
						21b17cfd59
					
				| 
						 | 
					@ -55,7 +55,7 @@
 | 
				
			||||||
  (define (circular-list? x)
 | 
					  (define (circular-list? x)
 | 
				
			||||||
    (and (pair? x)
 | 
					    (and (pair? x)
 | 
				
			||||||
	 (let rec ((lst (cdr x)))
 | 
						 (let rec ((lst (cdr x)))
 | 
				
			||||||
	   (cond ((not-pair?) #f)
 | 
						   (cond ((not-pair? lst) #f)
 | 
				
			||||||
		 ((null? lst) #f)
 | 
							 ((null? lst) #f)
 | 
				
			||||||
		 ((eq? x lst) #t)
 | 
							 ((eq? x lst) #t)
 | 
				
			||||||
		 (else (rec (cdr lst)))))))
 | 
							 (else (rec (cdr lst)))))))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue