Use new vector function

This commit is contained in:
Justin Ethier 2016-03-22 20:07:37 -04:00
parent ea605b0737
commit 943dd1aad5

View file

@ -524,7 +524,7 @@
((eq? p 'integer->char) "Cyc_integer2char") ((eq? p 'integer->char) "Cyc_integer2char")
((eq? p 'string->number)"Cyc_string2number2_") ((eq? p 'string->number)"Cyc_string2number2_")
((eq? p 'list->string) "Cyc_list2string") ((eq? p 'list->string) "Cyc_list2string")
((eq? p 'make-vector) "Cyc_make_vector") ((eq? p 'make-vector) "Cyc_make_vector2")
((eq? p 'list->vector) "Cyc_list2vector") ((eq? p 'list->vector) "Cyc_list2vector")
((eq? p 'vector-length) "Cyc_vector_length") ((eq? p 'vector-length) "Cyc_vector_length")
((eq? p 'vector-ref) "Cyc_vector_ref") ((eq? p 'vector-ref) "Cyc_vector_ref")
@ -703,6 +703,7 @@
(and (prim? exp) (and (prim? exp)
(member exp '(error Cyc-write Cyc-display (member exp '(error Cyc-write Cyc-display
string->number string-append string->number string-append
make-vector
+ - * /)))) + - * /))))
;; Does primitive allocate an object? ;; Does primitive allocate an object?