Add support for creating contracts of heterogenous vectors

This commit is contained in:
Eric Dobson 2012-08-03 20:49:46 -07:00 committed by Vincent St-Amour
parent f090698542
commit 9f453676d1

View File

@ -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))]