Add new tests

This commit is contained in:
Sam Tobin-Hochstadt 2008-06-11 17:16:58 -04:00
parent 97847c32c4
commit eb9147a0fa
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#lang typed-scheme
(require typed-scheme/private/extra-procs)
#;(map* + (list 1 2 3) (list 10 20 30) (list 'a 'b 'c))
(: g (Integer Integer Integer -> Integer))
(define (g x y z) 0)
(map* g (list 1 2 3) (list 4 5 6))

View File

@ -0,0 +1,10 @@
#lang typed-scheme
(require typed-scheme/private/extra-procs)
(: f (Integer Integer -> Integer))
(define (f x y) (+ x y))
(map* f (list 1 2 3) (list 10 20 30))
#;(map* + (list 1 2 3) (list 10 20 30) (list 10 20 30))