More testing.
original commit: 27073e07fd8e48e74451937195867d5d134554c1
This commit is contained in:
parent
f72b9f1e13
commit
286e9b8510
|
@ -12,6 +12,7 @@
|
|||
(map* + (list 1 2 3) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30) (list 10 20 30))
|
||||
|
||||
(: h (Integer Integer Integer * -> Integer))
|
||||
(define (h x y . z) 0)
|
||||
(define (h x y . z) (apply + (cons x (cons y z))))
|
||||
|
||||
(map* h (list 1 2 3) (list 4 5 6))
|
||||
(map* h (list 1 2 3) (list 4 5 6))
|
||||
(map* h (list 1 2 3) (list 4 5 6) (list 4 5 6))
|
||||
|
|
Loading…
Reference in New Issue
Block a user