Add support for creating contracts of heterogenous vectors
original commit: 9f453676d13f4b44ee9e8d891984de38db9bdeb0
This commit is contained in:
parent
74f13b21f1
commit
786a64de60
|
@ -190,6 +190,9 @@
|
|||
[(Vector: t)
|
||||
(when flat? (exit (fail)))
|
||||
#`(vectorof #,(t->c t))]
|
||||
[(HeterogenousVector: ts)
|
||||
(when flat? (exit (fail)))
|
||||
#`(vector/c #,@(map t->c ts))]
|
||||
[(Box: t)
|
||||
(when flat? (exit (fail)))
|
||||
#`(box/c #,(t->c t))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user