tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
|
|
@ -0,0 +1,13 @@
|
|||
#lang racket
|
||||
|
||||
(define (fs f s) (map f s))
|
||||
(define (f1 n) (* n 2))
|
||||
(define (f2 n) (* n n))
|
||||
|
||||
(define fsf1 (curry fs f1))
|
||||
(define fsf2 (curry fs f2))
|
||||
|
||||
(fsf1 '(0 1 2 3))
|
||||
(fsf1 '(2 4 6 8))
|
||||
(fsf2 '(0 1 2 3))
|
||||
(fsf2 '(2 4 6 8))
|
||||
Loading…
Add table
Add a link
Reference in a new issue