Guest User

Untitled

a guest
Jun 13th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. (define insertR
  2. (lambda (new old lst)
  3. (cond
  4. ((null? lat) (lst))
  5. (else (cond
  6. ((eq? (car lst) old)
  7. (cons old
  8. (cons new (cdr lst))))
  9. (else (cons (car lst)
  10. (insertR new old
  11. (cdr lst)))))))))
Add Comment
Please, Sign In to add comment