Fix subst-all contract.

This commit is contained in:
Eric Dobson 2014-05-11 21:01:04 -07:00
parent 75de9243e4
commit 3f5bddfcbd

View File

@ -169,7 +169,7 @@
;; substitute many variables ;; substitute many variables
;; subst-all : substitution/c Type -> Type ;; subst-all : substitution/c Type -> Type
(define/cond-contract (subst-all s ty) (define/cond-contract (subst-all s ty)
(substitution/c (or/c arr? Values/c) . -> . (or/c Values/c arr?)) (substitution/c (or/c arr? Values/c SomeValues/c) . -> . (or/c arr? Values/c SomeValues/c))
(define t-substs (define t-substs
(for/fold ([acc (hash)]) ([(v r) (in-hash s)]) (for/fold ([acc (hash)]) ([(v r) (in-hash s)])