fork(1) download
  1. (define comp-exps
  2. (lambda (x1 x2)
  3. (cond ((or (atom? x1) (atom? x2)) (eq? x1 x2))
  4. (#t (and (comp-exps (car x1) (car x2))
  5. (comp-exps (cdr x1) (cdr x2)))))))
  6.  
  7. (display (comp-exps '(1 (2 3)) '(1 (2 3))))
Success #stdin #stdout 0s 18088KB
stdin
Standard input is empty
stdout
#t