Fix to make-vector's type.
This commit is contained in:
parent
051b480934
commit
1e2c50ec24
|
@ -135,7 +135,7 @@
|
|||
[build-vector (-poly (a) (index-type (index-type . -> . a) . -> . (-vec a)))]
|
||||
[vector-set! (-poly (a) (-> (-vec a) index-type a -Void))]
|
||||
[vector-copy! (-poly (a) ((-vec a) index-type (-vec a) [index-type index-type] . ->opt . -Void))]
|
||||
[make-vector (-poly (a) (cl-> [(index-type) (-vec index-type)]
|
||||
[make-vector (-poly (a) (cl-> [(index-type) (-vec -Nat)]
|
||||
[(index-type a) (-vec a)]))]
|
||||
|
||||
[peek-char
|
||||
|
@ -154,4 +154,4 @@
|
|||
[(Sym -String index-type (-lst Univ)) (Un)])]
|
||||
|
||||
))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user