Fix subst-all contract.
This commit is contained in:
parent
75de9243e4
commit
3f5bddfcbd
|
@ -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)])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user