Welcome to DrRacket, version 7.2 [3m]. Language: racket, with debugging; memory limit: 128 MB. > (map add1 '(1 2 3)) '(2 3 4) > (map + '(1 2 3) '(4 5 6) '(7 8 9)) '(12 15 18) > (map list '(1 2 3) '(a b c) (map odd? '(7 8 9))) '((1 a #t) (2 b #f) (3 c #t)) > (filter odd? '(1 2 3 4 5 6)) '(1 3 5) > ((λ (a1 a2 . L) L) 1 2 3 4 5) '(3 4 5) > ((λ L (map add1 L)) 1 2 3 4) '(2 3 4 5) > (apply + '(1 2 3 4)) 10 > (let ((L '(1 2 3 4))) (apply + L)) // aleg să folosesc apply atunci când nu știu pe câte argumente aplic funcția 10 > (curry member) # > ((curry member) 2) # > (((curry member) 2) '(1 2 3)) '(2 3) > (foldl (λ (elem rezP) (+ rezP (if (odd? elem) elem 0))) 0 '(1 2 3 4 5 6)) 9 // suma elementelor impare >