pulling from sk's cs019 language
This commit is contained in:
parent
d7269558ed
commit
8962a9f79e
|
@ -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"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user