pulling from sk's cs019 language

This commit is contained in:
Danny Yoo 2011-11-09 21:44:54 -05:00
parent d7269558ed
commit 8962a9f79e

View File

@ -25,6 +25,9 @@
(list "Number$") (list "Number$")
(list 17)) (list 17))
(define smallvec (vector 0))
(define: vd : Void$ (vector-set! smallvec 0 1))
(check-expect (vector-ref smallvec 0) 1)
(define: (g2 [x : Number$]) -> String$ 'not-a-string) (define: (g2 [x : Number$]) -> String$ 'not-a-string)
#;(check-error (g2 "10")) #;(check-error (g2 "10"))