Fix for-each type.

Improve ... error messages.

original commit: 2ad440310828bc296223e23db3cdee84ad5fce34
This commit is contained in:
Sam Tobin-Hochstadt 2008-06-16 13:26:15 -04:00
parent b760e45d17
commit 5f244e7f42

View File

@ -123,7 +123,7 @@
[procedure? (make-pred-ty (make-Function (list (make-top-arr))))]
[map (-polydots (c a b) ((list ((list a) (b b) . ->... . c) (-lst a))
((-lst b) b) . ->... .(-lst c)))]
[for-each (-polydots (c a b) ((list ((list a) (b b) . ->... . -Void) (-lst a))
[for-each (-polydots (c a b) ((list ((list a) (b b) . ->... . Univ) (-lst a))
((-lst b) b) . ->... . -Void))]
[fold-left (-polydots (c a b) ((list ((list c a) (b b) . ->... . c) c (-lst a))
((-lst b) b) . ->... . c))]