Created
January 30, 2014 10:56
-
-
Save mikamix/8706338 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (define (equal? xs ys) | |
| (cond ((and (null? xs) (null? ys)) #t) | |
| (else (and (not (null? xs)) (not (null? ys)) | |
| (eq? (car xs) (car ys)) | |
| (equal? (cdr xs) (cdr ys)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment