Convert vectorof/vector-immutableof to the new regime.
Also add old-style vectorof to mzlib/contract. original commit: 3028f2d1424123d076a95572a7564b8fb069a86e
This commit is contained in:
parent
6b979e393f
commit
dbdb62fc7b
|
@ -132,7 +132,9 @@
|
|||
#'(or/c . cnts)))]
|
||||
[(and t (Function: _)) (t->c/fun t)]
|
||||
[(Vector: t)
|
||||
#`(vectorof #,(t->c t #:flat #t))]
|
||||
(if flat?
|
||||
#`(vectorof #,(t->c t #:flat #t) #:flat? #t)
|
||||
#`(vectorof #,(t->c t)))]
|
||||
[(Box: t)
|
||||
(if flat?
|
||||
#`(box/c #,(t->c t #:flat #t) #:flat? #t)
|
||||
|
|
Loading…
Reference in New Issue
Block a user