eval call/cc }:)
This commit is contained in:
1 parent
10bd6b733a
commit
0f9ba3c51e
3 files changed
+39
-14
No files matched your search
@@ -0,0 +1,7 @@
|
||||
(letrec ((my-map (λ (f l)
|
||||
(if (pair? l)
|
||||
(cons (f (car l))
|
||||
(my-map f (cdr l)))
|
||||
(list)))))
|
||||
(my-map (λ (x) (* x x))
|
||||
(list 0 1 2 3 4)))
|
||||
Reference in new issue
Block a user