Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (define (map proc lst)
- (match lst
- (() '())
- ((car rest ...)
- (cons (proc car) (map proc rest)))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement