This repository has been archived on 2022-05-15. You can view files and clone it, but cannot push or open issues or pull requests.
Files
2022-05-12 19:16:00 +03:00

12 lines
228 B
Racket

(define (concat li1 li2)
(if (empty? li2)
li1
(concat (append li1 (list (car li2))) (cdr li2))
)
)
(define (rev li1 li2)
(reverse (concat li1 li2))
)
(writeln (rev (list 1 2) (list 3 4)))