add simple map.
This commit is contained in:
parent
1fe2fb51b1
commit
717ae9cdc1
4
scm.mes
4
scm.mes
|
@ -92,3 +92,7 @@ EOF
|
|||
|
||||
(define-macro (let* bindings . body)
|
||||
(expand-let* bindings body))
|
||||
|
||||
(define (map f l . r)
|
||||
(cond ((null l) '())
|
||||
((null r) (cons (f (car l)) (map f (cdr l))))))
|
||||
|
|
Loading…
Reference in a new issue