Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Scheme 0.11 KB | None | 0 0
  1. (define (twice lst)
  2.   (cond [(null? lst) '()]
  3.         [else (cons (car lst)(cons (car lst)(twice(cdr lst))))]))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement